mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
alsa: rework mixer logic
Completely rework mixer logic. This now allows controlling a full set of elements from a single sink's volume slider/mute button. This also introduces sink and source "ports" that can be used to choose different input or output ports with the UI. (i.e. "mic"/"line-in" or "speaker"/"headphones". The mixer paths and device maps are now configered in external configuration files and can be tweaked as necessary.
This commit is contained in:
parent
e9c70ac41b
commit
31575f7766
54 changed files with 7029 additions and 1694 deletions
41
src/modules/alsa/mixer/paths/analog-input-mic.conf.common
Normal file
41
src/modules/alsa/mixer/paths/analog-input-mic.conf.common
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
;;; 'Mic Select'
|
||||
|
||||
[Element Mic Select]
|
||||
enumeration = select
|
||||
|
||||
[Option Mic Select:Mic1]
|
||||
name = input-microphone
|
||||
priority = 20
|
||||
|
||||
[Option Mic Select:Mic2]
|
||||
name = input-microphone
|
||||
priority = 19
|
||||
|
||||
;;; Various Boosts
|
||||
|
||||
[Element Mic Boost (+20dB)]
|
||||
switch = select
|
||||
|
||||
[Option Mic Boost (+20dB):on]
|
||||
name = input-boost-on
|
||||
|
||||
[Option Mic Boost (+20dB):off]
|
||||
name = input-boost-off
|
||||
|
||||
[Element Mic Boost]
|
||||
switch = select
|
||||
|
||||
[Option Mic Boost:on]
|
||||
name = input-boost-on
|
||||
|
||||
[Option Mic Boost:off]
|
||||
name = input-boost-off
|
||||
|
||||
[Element Front Mic Boost]
|
||||
switch = select
|
||||
|
||||
[Option Front Mic Boost:on]
|
||||
name = input-boost-on
|
||||
|
||||
[Option Front Mic Boost:off]
|
||||
name = input-boost-off
|
||||
Loading…
Add table
Add a link
Reference in a new issue