alsa: cover 'Digital Input Source' element
authorLennart Poettering <lennart@poettering.net>
Sat, 31 Oct 2009 01:56:57 +0000 (02:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 31 Oct 2009 01:56:57 +0000 (02:56 +0100)
As used by some HDA devices:

https://bugzilla.redhat.com/attachment.cgi?id=365290

src/modules/alsa/mixer/paths/analog-input.conf.common

index d883b32..007bb21 100644 (file)
@@ -255,6 +255,20 @@ name = input-microphone
 [Option Mic Jack Mode:Line In]
 name = input-linein
 
+;;; 'Digital Input Source'
+
+[Element Digital Input Source]
+enumeration = select
+
+[Option Digital Input Source:Analog Inputs]
+name = input
+
+[Option Digital Input Source:Digital Mic 1]
+name = input-microphone
+
+[Option Digital Input Source:Digital Mic 2]
+name = input-microphone
+
 ;;; Various Boosts
 
 [Element Capture Boost]