Red Hat Bugzilla – Bug 116517
ESD will degrade sound volume when it changes frequency (filtering)
Last modified: 2013-03-13 00:46:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124
Description of problem:
I've noticed that when i play some types of audio or viode files,
the generated volume is very low.
I searched around and i think the problem is with ESD when the
original stream frequency is converted. For example, in mplayer
when i see this:
Building audio filter chain for 48000Hz/2ch/16bit -> 44100Hz/2ch/16bit...
The resulting audio has an extremely low volume.
When i change the mplayer configuration to use the SDL filtering
as the audio device, then audio plays fine without any loss
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Find an audio stream which requires filtering (48khz to 44khz)
2. Play with mplayer via esd
3. Play with mplayer via SDL
Actual Results: Via esd the audio volume is very low.
Via SDL/ALSA the audio volume is normal.
Expected Results: Volume should be consistent.
I found a work-around to this problem:
1) i edited /etc/esd.conf
2) and added "-r 48000" in the spawn options
As a result, all output is 48khz so esd will
never do any downsampling, thus will not
lower the volume.
Its not a real solution though, since downsampling
shouldnt affect the volume, so the bug is still there.
No answer. closing.