[pulseaudio-discuss] specifying ALSA mixer control
kyle at pbx.org
Mon Mar 23 23:56:49 PDT 2009
My audio device has an IEC958 output as well as analog out. I set up
two module-alsa-sink's so that i can direct streams to either output,
but I found that I couldn't control the volume of each sink
independently. I was able to use asound.conf to create a softvol
control for the digital out. However, module-alsa-sink doesn't have
any way to select a particular mixer control. Since both pcms are
part of the same card they both end up using the Master control.
The attached patch adds an argument called "control" to the ALSA sink
module. If this argument is specified it tries to use that control.
Otherwise it uses the current method of selecting Master, with PCM as
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1612 bytes
Desc: not available
More information about the pulseaudio-discuss