mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-15 19:40:04 +01:00
Call "clear()" after changing anti-alias filter on/off
Call "clear()" after changing anti-alias filter on/off to prefill buffers appropriately.
This commit is contained in:
parent
762f56024b
commit
f38cfa6850
@ -78,6 +78,7 @@ void RateTransposer::enableAAFilter(bool newMode)
|
|||||||
#ifndef SOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER
|
#ifndef SOUNDTOUCH_PREVENT_CLICK_AT_RATE_CROSSOVER
|
||||||
// Disable Anti-alias filter if desirable to avoid click at rate change zero value crossover
|
// Disable Anti-alias filter if desirable to avoid click at rate change zero value crossover
|
||||||
bUseAAFilter = newMode;
|
bUseAAFilter = newMode;
|
||||||
|
clear();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user