DSPHLE: re-enable low-pass filter

Maybe this got fixed? Sonic Colors probably needs it for underwater audio.
This commit is contained in:
Tillmann Karras 2021-07-21 03:58:07 +01:00
parent b515786c8d
commit 4a5c723114
1 changed files with 1 additions and 3 deletions

View File

@ -419,9 +419,7 @@ void ProcessVoice(PB_TYPE& pb, const AXBuffers& buffers, u16 count, AXMixControl
} }
// Optionally, execute a low pass filter // Optionally, execute a low pass filter
// TODO: LPF code is currently broken, causing Super Monkey Ball sound if (pb.lpf.enabled)
// corruption. Disabled until someone figures out what is wrong with it.
if (0 && pb.lpf.enabled)
{ {
pb.lpf.yn1 = LowPassFilter(samples, count, pb.lpf.yn1, pb.lpf.a0, pb.lpf.b0); pb.lpf.yn1 = LowPassFilter(samples, count, pb.lpf.yn1, pb.lpf.a0, pb.lpf.b0);
} }