[alsa-devel] [PATCH] - ALSA emu10k1 - Remove "Front Playback Volume" and "Front Playback Switch" only for STAC9758/59

Raymond Yau superquad.vortex2 at gmail.com
Fri Apr 15 07:16:54 CEST 2011


Remove "Front Playback Volume" and "Front Playback Switch" from emu10k1 only
for STAC9758/59

Since commit 7eae36fbd5ea9db3d3fe0d671199121be782a5b3 "Fix the confliction
of 'Front' control"

The "Front Playback Volume" control created by commit
edf8e4565c44bffbb4d09e8984df941d0ae9e6e8
"emu10k1: Front channels via fxbus 8 and 9" was removed

"Front Playback Volume" and "Surround Playback Volume" have same dB range
since I2S DAC of SB Live! and SB Live! Platinum does not has any hardware
volume control


The remain problem is how to solve the lock when applications such as
"pulseaudio"  use "front" device for playback and capture at same time since
"EMU10K1 PCM Send Volume" is locked


aplay -v -Dfront:0 any.wav
Playing WAVE 'any.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Hooks PCM



 arecord -v -f cd -Dfront:0 /dev/null
Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
ALSA lib setup.c:96:(snd_sctl_install) Cannot lock ctl elem EMU10K1 PCM Send
Volume
arecord: set_params:1123: Unable to install hw params:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-Front-Playback-Volume-and-Front-Playback-Switch.patch
Type: application/octet-stream
Size: 1313 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110415/208f815e/attachment.dll 


More information about the Alsa-devel mailing list