Debian Codegraph @

src/modules/alsa/mixer/profile-sets/force-speaker.conf

raw
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2.1 of the
6 # License, or (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
15
16 ; This profile forces a speaker port even if we have no way of identifying it.
17 ; See default.conf for explanations.
18
19 [General]
20 auto-profiles = yes
21
22 [Mapping analog-mono]
23 device-strings = hw:%f
24 channel-map = mono
25 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono
26 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
27 priority = 1
28
29 [Mapping analog-stereo]
30 device-strings = front:%f hw:%f
31 channel-map = left,right
32 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono
33 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
34 priority = 10
35
36 [Mapping analog-surround-21]
37 device-strings = surround21:%f
38 channel-map = front-left,front-right,lfe
39 paths-output = analog-output analog-output-lineout analog-output-speaker-always
40 priority = 8
41 direction = output
42
43 [Mapping analog-surround-40]
44 device-strings = surround40:%f
45 channel-map = front-left,front-right,rear-left,rear-right
46 paths-output = analog-output analog-output-lineout analog-output-speaker-always
47 priority = 7
48 direction = output
49
50 [Mapping analog-surround-41]
51 device-strings = surround41:%f
52 channel-map = front-left,front-right,rear-left,rear-right,lfe
53 paths-output = analog-output analog-output-lineout analog-output-speaker-always
54 priority = 8
55 direction = output
56
57 [Mapping analog-surround-50]
58 device-strings = surround50:%f
59 channel-map = front-left,front-right,rear-left,rear-right,front-center
60 paths-output = analog-output analog-output-lineout analog-output-speaker-always
61 priority = 7
62 direction = output
63
64 [Mapping analog-surround-51]
65 device-strings = surround51:%f
66 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
67 paths-output = analog-output analog-output-lineout analog-output-speaker-always
68 priority = 8
69 direction = output
70
71 [Mapping analog-surround-71]
72 device-strings = surround71:%f
73 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
74 description = Analog Surround 7.1
75 paths-output = analog-output analog-output-lineout analog-output-speaker-always
76 priority = 7
77 direction = output
78
79 [Mapping analog-4-channel-input]
80 # Alsa doesn't currently provide any better device name than "hw" for 4-channel
81 # input. If this causes trouble at some point, then we will need to get a new
82 # device name standardized in alsa.
83 device-strings = hw:%f
84 channel-map = aux0,aux1,aux2,aux3
85 priority = 1
86 direction = input
87
88 [Mapping iec958-stereo]
89 device-strings = iec958:%f
90 channel-map = left,right
91 paths-input = iec958-stereo-input
92 paths-output = iec958-stereo-output
93 priority = 5
94
95 [Mapping iec958-ac3-surround-40]
96 device-strings = a52:%f
97 channel-map = front-left,front-right,rear-left,rear-right
98 paths-output = iec958-stereo-output
99 priority = 2
100 direction = output
101
102 [Mapping iec958-ac3-surround-51]
103 device-strings = a52:%f
104 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
105 paths-output = iec958-stereo-output
106 priority = 3
107 direction = output
108
109 [Mapping iec958-dts-surround-51]
110 device-strings = dca:%f
111 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
112 paths-output = iec958-stereo-output
113 priority = 3
114 direction = output
115
116 [Mapping hdmi-stereo]
117 description = Digital Stereo (HDMI)
118 device-strings = hdmi:%f
119 paths-output = hdmi-output-0
120 channel-map = left,right
121 priority = 4
122 direction = output
123
124 [Mapping hdmi-surround]
125 description = Digital Surround 5.1 (HDMI)
126 device-strings = hdmi:%f
127 paths-output = hdmi-output-0
128 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
129 priority = 3
130 direction = output
131
132 [Mapping hdmi-surround71]
133 description = Digital Surround 7.1 (HDMI)
134 device-strings = hdmi:%f
135 paths-output = hdmi-output-0
136 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
137 priority = 3
138 direction = output
139
140 [Mapping hdmi-dts-surround]
141 description = Digital Surround 5.1 (HDMI/DTS)
142 device-strings = dcahdmi:%f
143 paths-output = hdmi-output-0
144 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
145 priority = 1
146 direction = output
147
148 ; An example for defining multiple-sink profiles
149 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
150 #description = Foobar
151 #output-mappings = analog-stereo iec958-stereo
152 #input-mappings = analog-stereo