[MPlayer-dev-eng] [BUG?][PATCH] af_equalizer too quiet

Rich Felker dalias at aerifal.cx
Wed Nov 23 06:11:58 CET 2005


On Tue, Nov 22, 2005 at 08:08:13PM -0800, Corey Hickey wrote:
> I noticed that mplayer -af equalizer reduces the volume significantly.
> Consider this command:
> 
> $ mplayer file.mp3 -af equalizer
> 
> (this corresponds to -af equalizer=0:0:0:0:0:0:0:0:0:0)
> 
> Since the suboptions accept a range from -12 to 12 and 0 is the default,
> I would expect 0 to be the neutral position and to have no effect on the
> audio. Instead, the volume is reduced by a factor of 40 by line 193 of
> af_equalizer.c:
> 
> *out=yt/(4.0*10.0);
> 
> Is that a bug? If so, the attached patch fixes it.

Yes, there are bugs like this all over libaf. If you could find and
fix them it would be most appreciated.

Rich




More information about the MPlayer-dev-eng mailing list