[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] alsa-mixer: Add analog-input path to TI PCM2902 mappings

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Wed Jan 26 17:02:10 UTC 2022



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
16f0a4d7 by Tanu Kaskinen at 2022-01-26T16:57:52+00: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>

- - - - -


1 changed file:

- src/modules/alsa/mixer/profile-sets/texas-instruments-pcm2902.conf


Changes:

=====================================
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
 



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/16f0a4d7f49dfcec635a9afb28f2bf0f2255bb66

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/16f0a4d7f49dfcec635a9afb28f2bf0f2255bb66
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20220126/a2b3d85b/attachment-0001.htm>


More information about the pulseaudio-commits mailing list