[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] alsa-mixer: Recognize USB audio jack mixer

Arun Raghavan gitlab at gitlab.freedesktop.org
Tue Aug 4 21:14:07 UTC 2020



Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
e153fb87 by Kai-Heng Feng at 2020-08-05T00:42:26+08:00
alsa-mixer: Recognize USB audio jack mixer

UAC v2 and v3 support insertion control (jack detection), and the
created jack mixers have "- Input" suffix and "- Output" suffix for
input jack and output jack, respectively.

Add these jacks so we don't always need to rely on UCM or PulseAudio
profile-set.

- - - - -


4 changed files:

- src/modules/alsa/mixer/paths/analog-input-linein.conf
- src/modules/alsa/mixer/paths/analog-input-mic.conf
- src/modules/alsa/mixer/paths/analog-output-headphones.conf
- src/modules/alsa/mixer/paths/analog-output-speaker.conf


Changes:

=====================================
src/modules/alsa/mixer/paths/analog-input-linein.conf
=====================================
@@ -28,6 +28,9 @@ required-any = any
 state.plugged = unknown
 state.unplugged = unknown
 
+[Jack Line - Input]
+required-any = any
+
 [Element Capture]
 switch = mute
 volume = merge


=====================================
src/modules/alsa/mixer/paths/analog-input-mic.conf
=====================================
@@ -29,6 +29,9 @@ required-any = any
 state.plugged = unknown
 state.unplugged = unknown
 
+[Jack Mic - Input]
+required-any = any
+
 [Element Capture]
 switch = mute
 volume = merge


=====================================
src/modules/alsa/mixer/paths/analog-output-headphones.conf
=====================================
@@ -52,6 +52,9 @@ state.unplugged = unknown
 [Jack Headphone Mic]
 required-any = any
 
+[Jack Headphone - Output]
+required-any = any
+
 [Element Hardware Master]
 switch = mute
 volume = merge


=====================================
src/modules/alsa/mixer/paths/analog-output-speaker.conf
=====================================
@@ -69,6 +69,9 @@ required-any = any
 state.plugged = unknown
 state.unplugged = unknown
 
+[Jack Speaker - Output]
+required-any = any
+
 [Element Hardware Master]
 switch = mute
 volume = merge



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

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/e153fb870618b1dcf65f6fce1667ea76acc5a28b
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/20200804/26abd2f8/attachment-0001.htm>


More information about the pulseaudio-commits mailing list