diff --git a/TODO b/TODO index 3dfec29..ff7d9f3 100644 --- a/TODO +++ b/TODO @@ -3,7 +3,7 @@ * test flush-to-zero on arm * debugging - also check outputs different (incl bw_buf) -* check all examples again +* check all examples again (from fxpp_noise_gate) * clearly specify that state is tied to a particular set of coeffs (1:N) * state that sample rate is finite and > 0 * state that audio cannot be inf (also in reset) diff --git a/examples/fxpp_bitcrush/src/bw_example_fxpp_bitcrush.cpp b/examples/fxpp_bitcrush/src/bw_example_fxpp_bitcrush.cpp index 568cd58..be59725 100644 --- a/examples/fxpp_bitcrush/src/bw_example_fxpp_bitcrush.cpp +++ b/examples/fxpp_bitcrush/src/bw_example_fxpp_bitcrush.cpp @@ -25,8 +25,8 @@ void bw_example_fxpp_bitcrush_init(bw_example_fxpp_bitcrush *instance) { } void bw_example_fxpp_bitcrush_set_sample_rate(bw_example_fxpp_bitcrush *instance, float sample_rate) { - (void)instance; - (void)sample_rate; + instance->srReduce.setSampleRate(sample_rate); + instance->bdReduce.setSampleRate(sample_rate); } void bw_example_fxpp_bitcrush_reset(bw_example_fxpp_bitcrush *instance) {