mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
Add mixer paths and profile-sets as well
So we don't have to rely on pulseaudio installed ones
This commit is contained in:
parent
a2de3b0873
commit
154f981f97
74 changed files with 6387 additions and 7 deletions
160
spa/plugins/alsa/mixer/paths/analog-output-headphones.conf
Normal file
160
spa/plugins/alsa/mixer/paths/analog-output-headphones.conf
Normal file
|
|
@ -0,0 +1,160 @@
|
|||
# This file is part of PulseAudio.
|
||||
#
|
||||
# PulseAudio is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as
|
||||
# published by the Free Software Foundation; either version 2.1 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# PulseAudio is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public License
|
||||
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
; Path for mixers that have a 'Headphone' control
|
||||
;
|
||||
; See analog-output.conf.common for an explanation on the directives
|
||||
|
||||
[General]
|
||||
priority = 99
|
||||
description-key = analog-output-headphones
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-headphones
|
||||
|
||||
[Jack Dock Headphone]
|
||||
required-any = any
|
||||
|
||||
[Jack Dock Headphone Phantom]
|
||||
required-any = any
|
||||
state.plugged = unknown
|
||||
state.unplugged = unknown
|
||||
|
||||
[Jack Front Headphone]
|
||||
required-any = any
|
||||
|
||||
[Jack Front Headphone Phantom]
|
||||
required-any = any
|
||||
state.plugged = unknown
|
||||
state.unplugged = unknown
|
||||
|
||||
[Jack Headphone]
|
||||
required-any = any
|
||||
|
||||
[Jack Headphone Phantom]
|
||||
required-any = any
|
||||
state.plugged = unknown
|
||||
state.unplugged = unknown
|
||||
|
||||
# This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
|
||||
[Jack Headphone Mic]
|
||||
required-any = any
|
||||
|
||||
[Element Hardware Master]
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Master]
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Master Mono]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Speaker+LO]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Headphone+LO]
|
||||
required-any = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Headphone]
|
||||
required-any = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Headset]
|
||||
required-any = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Line HP Swap]
|
||||
switch = on
|
||||
required-any = any
|
||||
|
||||
; This profile path is intended to control the first headphones, not
|
||||
; the second headphones. But it should not hurt if we leave the second
|
||||
; headphone jack enabled nonetheless.
|
||||
[Element Headphone2]
|
||||
switch = mute
|
||||
volume = zero
|
||||
|
||||
[Element Speaker]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Desktop Speaker]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
; On some machines Front is actually a part of the Headphone path
|
||||
[Element Front]
|
||||
switch = mute
|
||||
volume = zero
|
||||
|
||||
[Element Rear]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Surround]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Side]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Center]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element LFE]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Bass Speaker]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Speaker Front]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Speaker Surround]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Speaker Side]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Speaker CLFE]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-output.conf.common
|
||||
Loading…
Add table
Add a link
Reference in a new issue