]> code.delx.au - pulseaudio/commit
alsa: Add UCM jack detection
authorFeng Wei <b34248@freescale.com>
Thu, 5 Jul 2012 05:03:45 +0000 (13:03 +0800)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 16 Jul 2012 11:38:28 +0000 (17:08 +0530)
commitdae4b83dd0cfbb0b7aa8096c89eba0b799d1682b
tree73a897fbf15ff1b8abc486812f511cbae37b56dd
parentc19d1082192312bdc8fb8f8a462e2e6843efc9b6
alsa: Add UCM jack detection

Jack in UCM is decided by UCM device name, although in fact
not all UCM devices have "jacks". Because port is also mapped
to UCM device, we can always find target port when some jack
event happens.

Signed-off-by: Feng Wei <wei.feng@freescale.com>
src/modules/alsa/alsa-ucm.c
src/modules/alsa/alsa-ucm.h
src/modules/alsa/module-alsa-card.c