mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Previously the path description was looked up based on the path name only. Since there can be multiple paths that use the same description, it had to be possible to have multiple paths with the same name. Having the same name with multiple paths makes identifying the paths more complex than necessary, so the plan is to make it impossible to have paths with the same name. This patch prepares for that by retaining the possibility to still have the same description with multiple paths. Instead of the path name, the path description is looked up by using the "path description key" if it is set (path name is still used as a fallback lookup key).
66 lines
1.4 KiB
Text
66 lines
1.4 KiB
Text
# 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, write to the Free Software Foundation,
|
|
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
|
|
|
; For devices where an 'Aux' element exists
|
|
;
|
|
; See analog-output.conf.common for an explanation on the directives
|
|
|
|
[General]
|
|
priority = 80
|
|
description-key = analog-input
|
|
|
|
[Element Capture]
|
|
switch = mute
|
|
volume = merge
|
|
override-map.1 = all
|
|
override-map.2 = all-left,all-right
|
|
|
|
[Element Mic]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element Internal Mic]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element Line]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element Aux]
|
|
required = any
|
|
switch = mute
|
|
volume = merge
|
|
override-map.1 = all
|
|
override-map.2 = all-left,all-right
|
|
|
|
[Element Video]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element Mic/Line]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element TV Tuner]
|
|
switch = off
|
|
volume = off
|
|
|
|
[Element FM]
|
|
switch = off
|
|
volume = off
|
|
|
|
.include analog-input.conf.common
|