mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Retains existing output when switching filter coefficients.
This eliminates an issue with dynamic rate matching and throwing away the beginnings of buffers.
This commit is contained in:
parent
2ea1e059a8
commit
6ae42d07a7
@ -228,7 +228,6 @@ template <typename T> class LowpassSpeaker: public Speaker {
|
||||
);
|
||||
number_of_taps = (number_of_taps * 2) | 1;
|
||||
|
||||
output_buffer_pointer_ = 0;
|
||||
stepper_ = std::make_unique<SignalProcessing::Stepper>(
|
||||
uint64_t(filter_parameters.input_cycles_per_second),
|
||||
uint64_t(filter_parameters.output_cycles_per_second));
|
||||
|
Loading…
Reference in New Issue
Block a user