pulseaudio/src/modules/alsa
Feng Wei 3a92bda554 alsa: Catch role matched streams to enable/disable modifier
In UCM basic functions, we only assign intended roles from modifier
to sink/source, but we don't have a chance to set the ucm modifiers.
Here we amend the functions so that when roled stream starts or
stops, we have the following results:
1. stream will be routed to sink/source specified in modifier by
   module-intended-roles
2. After that, modifier will be enabled or disabled.
3. when multiple streams with matched roles of modifier start, only
   the first one will enable the modifier, and when they end, the
   last one will disable the modifier.

Signed-off-by: Feng Wei <wei.feng@freescale.com>
Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
2012-07-18 10:53:29 +05:30
..
mixer alsa-mixer: Add "Headphone Mic" support for 3-pin ASUS netbooks 2012-07-13 11:29:48 +02:00
alsa-mixer.c alsa: Add a proplist to mappings 2012-07-16 18:51:51 +05:30
alsa-mixer.h alsa: Add a proplist to mappings 2012-07-16 18:51:51 +05:30
alsa-sink.c alsa: Catch role matched streams to enable/disable modifier 2012-07-18 10:53:29 +05:30
alsa-sink.h alsa: Remove unneeded include 2011-06-22 22:45:27 +01:00
alsa-source.c alsa: Catch role matched streams to enable/disable modifier 2012-07-18 10:53:29 +05:30
alsa-source.h alsa: rework mixer logic 2009-06-17 03:45:14 +02:00
alsa-ucm.c alsa: Catch role matched streams to enable/disable modifier 2012-07-18 10:53:29 +05:30
alsa-ucm.h alsa: Catch role matched streams to enable/disable modifier 2012-07-18 10:53:29 +05:30
alsa-util.c alsa: Allow channel count probe on open by mapping 2012-07-16 17:08:28 +05:30
alsa-util.h alsa: Jack detection kcontrol implementation 2012-03-11 12:23:46 +05:30
module-alsa-card.c alsa: Catch role matched streams to enable/disable modifier 2012-07-18 10:53:29 +05:30
module-alsa-sink.c alsa: support fixed latency range in alsa modules 2011-11-03 21:17:54 +01:00
module-alsa-source.c alsa: support fixed latency range in alsa modules 2011-11-03 21:17:54 +01:00