# HG changeset patch # User nenolod # Date 1147189681 25200 # Node ID a29125f98180615c4d1b71501bc3c0b4d6b39fc9 # Parent 46fa5a29eae13f3b65c114659b46551c5c484f9a [svn] - fix overcompression in the modified iir routines diff -r 46fa5a29eae1 -r a29125f98180 audacious/iir_fpu.c --- a/audacious/iir_fpu.c Mon May 08 21:05:33 2006 -0700 +++ b/audacious/iir_fpu.c Tue May 09 08:48:01 2006 -0700 @@ -101,12 +101,12 @@ { pcm[channel] = data[index+channel] * 4; /* Preamp gain */ - pcm[channel] *= preamp[channel]; + pcm[channel] *= (preamp[channel] / 2); /* add random noise */ pcm[channel] += dither[di]; - out[channel] = 0.; + out[channel] = 0.0; /* For each band */ for (band = 0; band < band_count; band++) {