mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Ensured filtered 1:1 audio resampling is applied.
This commit is contained in:
parent
06dd98b23c
commit
026b418b4a
@ -190,7 +190,7 @@ template <class T> class Filter: public Speaker {
|
||||
}
|
||||
|
||||
// if the output rate is less than the input rate, use the filter
|
||||
if(input_cycles_per_second_ > output_cycles_per_second_)
|
||||
if(input_cycles_per_second_ > output_cycles_per_second_ || (input_cycles_per_second_ == output_cycles_per_second_ && high_frequency_cut_off_ >= 0.0))
|
||||
{
|
||||
while(cycles_remaining)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user