diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2022-01-23 16:46:17 +0200 |
---|---|---|
committer | PulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org> | 2022-01-26 16:57:52 +0000 |
commit | 16f0a4d7f49dfcec635a9afb28f2bf0f2255bb66 (patch) | |
tree | e253bc8a34435a9d606c48f7ca467ccb4ad4be51 /src | |
parent | b8c15e87871905bb7aaead5dfaa62a6c745813a3 (diff) | |
download | pulseaudio-16f0a4d7f49dfcec635a9afb28f2bf0f2255bb66.tar.gz |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf b/src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf index 15ac4a099..3c2b39869 100644 --- a/src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf +++ b/src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf @@ -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 |