[alsa-devel] [PATCH] - ALSA emu10k1 - Remove "Front Playback Volume" and "Front Playback Switch" only for STAC9758/59
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:
At Fri, 15 Apr 2011 13:16:54 +0800, Raymond Yau wrote:
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:
Applied now. Thanks.
Takashi
participants (2)
-
Raymond Yau
-
Takashi Iwai