alsa-mixer: Support for Creative SoundBlaster Omni Surround 5.1 USB sound card with latest firmware

`Mic` is now detected as `Mic-In/Mic Array` (there are 2 microphones physically, nice to se this being understood).
`Line` is now detected as `Line In`.
Removed all output modes except officially supported stereo, 5.1 and stereo S/PDIF.
Also microphone/line in now might be used simultaneously with either output mode, yay!
This commit is contained in:
Nazar Mokrynskyi 2016-03-24 15:59:23 +02:00 committed by Tanu Kaskinen
parent e89271b750
commit 7aac90236b
3 changed files with 10 additions and 15 deletions

View file

@ -69,6 +69,10 @@ enumeration = select
name = analog-input-linein
required-any = any
[Option PCM Capture Source:Line In]
name = analog-input-linein
required-any = any
[Element Mic]
switch = off
volume = off

View file

@ -76,6 +76,10 @@ enumeration = select
name = analog-input-microphone
required-any = any
[Option PCM Capture Source:Mic-In/Mic Array]
name = analog-input-microphone
required-any = any
;;; Some AC'97s have "Mic Select" and "Mic Boost (+20dB)"
[Element Mic Select]

View file

@ -20,7 +20,8 @@
; This config supports both cases.
; Also by default there are some non-existing (physically) inputs
; and outputs that are not present here.
; And finally in 2.1 mode LFE is not working, so it is removed also.
; And finally officially supported modes are stereo and 5.1 + stereo S/PDIF,
; so only these modes included.
;
; See default.conf for an explanation on the directives used here.
@ -42,20 +43,6 @@ paths-input = analog-input-mic analog-input-linein
channel-map = left,right
direction = input
[Mapping analog-surround-41]
device-strings = surround41:%f
channel-map = front-left,front-right,rear-left,rear-right,lfe
paths-output = analog-output
priority = 7
direction = output
[Mapping analog-surround-50]
device-strings = surround50:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center
paths-output = analog-output
priority = 8
direction = output
[Mapping analog-surround-51]
device-strings = surround51:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe