Merge pull request #9929 from Tilka/ax

DSPHLE: re-enable low-pass filter
This commit is contained in:
JosJuice 2021-07-22 19:05:29 +02:00 committed by GitHub
commit db5a78781f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
} }