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

Corey Hickey bugfood-ml at fatooh.org
Wed Nov 23 05:08:13 CET 2005


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.

-Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: equalizer-normal.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051122/bdc857f9/attachment.asc>


More information about the MPlayer-dev-eng mailing list