specifying ALSA mixer control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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
a fallback.

Best,
Kyle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulseaudio-0.9.14_mixer_control.diff
Type: text/x-patch
Size: 1612 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20090324/9fcb6129/attachment.bin>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux