mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
alsa-mixer: Add analog-input path to TI PCM2902 mappings
At least Behringer Xenyx 302USB doesn't have any Mic mixer elements (or indeed any capture mixer elements), so having analog-input-mic as the only input path caused the input mappings to not show up on this sound card. Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1325 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/685>
This commit is contained in:
parent
b8c15e8787
commit
16f0a4d7f4
1 changed files with 9 additions and 6 deletions
|
|
@ -16,12 +16,15 @@
|
|||
; Texas Instruments PCM2902
|
||||
;
|
||||
; This is a generic chip used in multiple products, including at least
|
||||
; Behringer U-Phoria UMC22, Intopic Jazz-UB700 and some unbranded "usb mini
|
||||
; microphone".
|
||||
; Behringer U-Phoria UMC22, Behringer Xenyx 302USB, Intopic Jazz-UB700 and
|
||||
; some unbranded "usb mini microphone".
|
||||
;
|
||||
; Behringer UMC22 has stereo input (representing two physical mono inputs),
|
||||
; others have mono input.
|
||||
;
|
||||
; Some devices have a mic input path, but at least Behringer Xenyx 302USB
|
||||
; doesn't have any input mixer controls.
|
||||
;
|
||||
; Since the UMC22 card has only stereo input PCM device but is commonly used
|
||||
; with mono mics, we define special mono mappings using "mono,aux1" and
|
||||
; "aux1,mono" channel maps. If we had only had the standard stereo input
|
||||
|
|
@ -40,28 +43,28 @@ auto-profiles = yes
|
|||
[Mapping analog-stereo-input]
|
||||
device-strings = hw:%f
|
||||
channel-map = left,right
|
||||
paths-input = analog-input-mic
|
||||
paths-input = analog-input-mic analog-input
|
||||
direction = input
|
||||
priority = 4
|
||||
|
||||
[Mapping analog-mono]
|
||||
device-strings = hw:%f
|
||||
channel-map = mono
|
||||
paths-input = analog-input-mic
|
||||
paths-input = analog-input-mic analog-input
|
||||
direction = input
|
||||
priority = 3
|
||||
|
||||
[Mapping analog-mono-left]
|
||||
device-strings = hw:%f
|
||||
channel-map = mono,aux1
|
||||
paths-input = analog-input-mic
|
||||
paths-input = analog-input-mic analog-input
|
||||
direction = input
|
||||
priority = 2
|
||||
|
||||
[Mapping analog-mono-right]
|
||||
device-strings = hw:%f
|
||||
channel-map = aux1,mono
|
||||
paths-input = analog-input-mic
|
||||
paths-input = analog-input-mic analog-input
|
||||
direction = input
|
||||
priority = 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue