Debian Codegraph @

src/modules/alsa/mixer/profile-sets/default.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 ; Default profile definitions for the ALSA backend of PulseAudio. This
17 ; is used as fallback for all cards that have no special mapping
18 ; assigned (and should be good enough for the vast majority of
19 ; cards). If you want to assign a different profile set than this one
20 ; to a device, either set the udev property PULSE_PROFILE_SET for the
21 ; card, or use the "profile_set" module argument when loading
22 ; module-alsa-card.
23 ;
24 ; So what is this about? Simply, what we do here is map ALSA devices
25 ; to how they are exposed in PA. We say which ALSA device string to
26 ; use to open a device, which channel mapping to use then, and which
27 ; mixer path to use. This is encoded in a 'mapping'. Multiple of these
28 ; mappings can be bound together in a 'profile' which is then directly
29 ; exposed in the UI as a card profile. Each mapping assigned to a
30 ; profile will result in one sink/source to be created if the profile
31 ; is selected for the card.
32 ;
33 ; Additionally, the path set configuration files can describe the
34 ; decibel values assigned to the steps of the volume elements. This
35 ; can be used to work around situations when the alsa driver doesn't
36 ; provide any decibel information, or when the information is
37 ; incorrect.
38
39
40 ; [General]
41 ; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate
42 ; # them by combining every input mapping with every output mapping.
43 ;
44 ; [Mapping id]
45 ; device-strings = ... # ALSA device string. %f will be replaced by the card identifier.
46 ; channel-map = ... # Channel mapping to use for this device
47 ; description = ... # Description for the mapping. Note that it's better to set the description
48 ; # in the well_known_descriptions table in alsa-mixer.c than with this
49 ; # option, because the descriptions in alsa-mixer.c are translatable.
50 ; description-key = ... # A custom key for the well_known_descriptions table (by default the mapping
51 ; # name is used).
52 ; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed.
53 ; # If multiple are found to be working they will be available as device ports
54 ; paths-output = ...
55 ; element-input = ... # Instead of configuring a full mixer path simply configure a single
56 ; # mixer element for volume/mute handling. The value can be an element
57 ; # name, or name and index separated by a comma.
58 ; element-output = ...
59 ; priority = ...
60 ; direction = any | input | output # Only useful for?
61 ;
62 ; exact-channels = yes | no # If no, and the exact number of channels is not supported,
63 ; # allow device to be opened with another channel count
64 ; fallback = no | yes # This mapping will only be considered if all non-fallback mappings fail
65 ; intended-roles = ... # Set the device.intended_roles property for the sink/source.
66 ;
67 ; [Profile id]
68 ; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be
69 ; # defined in this file too
70 ; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be
71 ; # defined in this file too
72 ; description = ...
73 ; priority = ... # Numeric value to deduce priority for this profile
74 ; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile
75 ; # will be assumed as working without probing. Makes initialization
76 ; # a bit faster but only works if the card is really known well.
77 ;
78 ; fallback = no | yes # This profile will only be considered if all non-fallback profiles fail
79 ; [DecibelFix element] # Decibel fixes can be used to work around missing or incorrect dB
80 ; # information from alsa. A decibel fix is a table that maps volume steps
81 ; # to decibel values for one volume element. The "element" part in the
82 ; # section title is the name of the volume element (or name and index
83 ; # separated by a comma).
84 ; #
85 ; # NOTE: This feature is meant just as a help for figuring out the correct
86 ; # decibel values. PulseAudio is not the correct place to maintain the
87 ; # decibel mappings!
88 ; #
89 ; # If you need this feature, then you should make sure that when you have
90 ; # the correct values figured out, the alsa driver developers get informed
91 ; # too, so that they can fix the driver.
92 ;
93 ; db-values = ... # The option value consists of pairs of step numbers and decibel values.
94 ; # The pairs are separated with whitespace, and steps are separated from
95 ; # the corresponding decibel values with a colon. The values must be in an
96 ; # increasing order. Here's an example of a valid string:
97 ; #
98 ; # "0:-40.50 1:-38.70 3:-33.00 11:0"
99 ; #
100 ; # The lowest step imposes a lower limit for hardware volume and the
101 ; # highest step correspondingly imposes a higher limit. That means that
102 ; # that the mixer will never be set outside those values - the rest of the
103 ; # volume scale is done using software volume.
104 ; #
105 ; # As can be seen in the example, you don't need to specify a dB value for
106 ; # each step. The dB values for skipped steps will be linearly interpolated
107 ; # using the nearest steps that are given.
108
109 [General]
110 auto-profiles = yes
111
112 [Mapping analog-stereo]
113 device-strings = front:%f
114 channel-map = left,right
115 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2
116 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 analog-input-headphone-mic analog-input-headset-mic
117 priority = 15
118
119 # If everything else fails, try to use hw:0 as a stereo device...
120 [Mapping stereo-fallback]
121 device-strings = hw:%f
122 fallback = yes
123 channel-map = front-left,front-right
124 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2
125 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 analog-input-headphone-mic analog-input-headset-mic
126 priority = 1
127
128 # ...and if even that fails, try to use hw:0 as a mono device.
129 [Mapping mono-fallback]
130 device-strings = hw:%f
131 fallback = yes
132 channel-map = mono
133 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
134 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 analog-input-headset-mic
135 priority = 1
136
137 [Mapping analog-surround-21]
138 device-strings = surround21:%f
139 channel-map = front-left,front-right,lfe
140 paths-output = analog-output analog-output-lineout analog-output-speaker
141 priority = 13
142 direction = output
143
144 [Mapping analog-surround-40]
145 device-strings = surround40:%f
146 channel-map = front-left,front-right,rear-left,rear-right
147 paths-output = analog-output analog-output-lineout analog-output-speaker
148 priority = 12
149 direction = output
150
151 [Mapping analog-surround-41]
152 device-strings = surround41:%f
153 channel-map = front-left,front-right,rear-left,rear-right,lfe
154 paths-output = analog-output analog-output-lineout analog-output-speaker
155 priority = 13
156 direction = output
157
158 [Mapping analog-surround-50]
159 device-strings = surround50:%f
160 channel-map = front-left,front-right,rear-left,rear-right,front-center
161 paths-output = analog-output analog-output-lineout analog-output-speaker
162 priority = 12
163 direction = output
164
165 [Mapping analog-surround-51]
166 device-strings = surround51:%f
167 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
168 paths-output = analog-output analog-output-lineout analog-output-speaker
169 priority = 13
170 direction = output
171
172 [Mapping analog-surround-71]
173 device-strings = surround71:%f
174 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
175 description = Analog Surround 7.1
176 paths-output = analog-output analog-output-lineout analog-output-speaker
177 priority = 12
178 direction = output
179
180 [Mapping iec958-stereo]
181 device-strings = iec958:%f
182 channel-map = left,right
183 paths-input = iec958-stereo-input
184 paths-output = iec958-stereo-output
185 priority = 5
186
187 [Mapping iec958-ac3-surround-40]
188 device-strings = a52:%f
189 channel-map = front-left,front-right,rear-left,rear-right
190 paths-output = iec958-stereo-output
191 priority = 2
192 direction = output
193
194 [Mapping iec958-ac3-surround-51]
195 device-strings = a52:%f
196 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
197 paths-output = iec958-stereo-output
198 priority = 3
199 direction = output
200
201 [Mapping iec958-dts-surround-51]
202 device-strings = dca:%f
203 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
204 paths-output = iec958-stereo-output
205 priority = 3
206 direction = output
207
208 [Mapping hdmi-stereo]
209 description = Digital Stereo (HDMI)
210 device-strings = hdmi:%f
211 paths-output = hdmi-output-0
212 channel-map = left,right
213 priority = 9
214 direction = output
215
216 [Mapping hdmi-surround]
217 description = Digital Surround 5.1 (HDMI)
218 device-strings = hdmi:%f
219 paths-output = hdmi-output-0
220 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
221 priority = 8
222 direction = output
223
224 [Mapping hdmi-surround71]
225 description = Digital Surround 7.1 (HDMI)
226 device-strings = hdmi:%f
227 paths-output = hdmi-output-0
228 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
229 priority = 8
230 direction = output
231
232 [Mapping hdmi-dts-surround]
233 description = Digital Surround 5.1 (HDMI/DTS)
234 device-strings = dcahdmi:%f
235 paths-output = hdmi-output-0
236 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
237 priority = 6
238 direction = output
239
240 [Mapping hdmi-stereo-extra1]
241 description = Digital Stereo (HDMI 2)
242 device-strings = hdmi:%f,1
243 paths-output = hdmi-output-1
244 channel-map = left,right
245 priority = 7
246 direction = output
247
248 [Mapping hdmi-surround-extra1]
249 description = Digital Surround 5.1 (HDMI 2)
250 device-strings = hdmi:%f,1
251 paths-output = hdmi-output-1
252 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
253 priority = 6
254 direction = output
255
256 [Mapping hdmi-surround71-extra1]
257 description = Digital Surround 7.1 (HDMI 2)
258 device-strings = hdmi:%f,1
259 paths-output = hdmi-output-1
260 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
261 priority = 6
262 direction = output
263
264 [Mapping hdmi-dts-surround-extra1]
265 description = Digital Surround 5.1 (HDMI 2/DTS)
266 device-strings = dcahdmi:%f,1
267 paths-output = hdmi-output-1
268 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
269 priority = 6
270 direction = output
271
272 [Mapping hdmi-stereo-extra2]
273 description = Digital Stereo (HDMI 3)
274 device-strings = hdmi:%f,2
275 paths-output = hdmi-output-2
276 channel-map = left,right
277 priority = 7
278 direction = output
279
280 [Mapping hdmi-surround-extra2]
281 description = Digital Surround 5.1 (HDMI 3)
282 device-strings = hdmi:%f,2
283 paths-output = hdmi-output-2
284 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
285 priority = 6
286 direction = output
287
288 [Mapping hdmi-surround71-extra2]
289 description = Digital Surround 7.1 (HDMI 3)
290 device-strings = hdmi:%f,2
291 paths-output = hdmi-output-2
292 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
293 priority = 6
294 direction = output
295
296 [Mapping hdmi-dts-surround-extra2]
297 description = Digital Surround 5.1 (HDMI 3/DTS)
298 device-strings = dcahdmi:%f,2
299 paths-output = hdmi-output-2
300 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
301 priority = 6
302 direction = output
303
304 [Mapping hdmi-stereo-extra3]
305 description = Digital Stereo (HDMI 4)
306 device-strings = hdmi:%f,3
307 paths-output = hdmi-output-3
308 channel-map = left,right
309 priority = 7
310 direction = output
311
312 [Mapping hdmi-surround-extra3]
313 description = Digital Surround 5.1 (HDMI 4)
314 device-strings = hdmi:%f,3
315 paths-output = hdmi-output-3
316 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
317 priority = 6
318 direction = output
319
320 [Mapping hdmi-surround71-extra3]
321 description = Digital Surround 7.1 (HDMI 4)
322 device-strings = hdmi:%f,3
323 paths-output = hdmi-output-3
324 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
325 priority = 6
326 direction = output
327
328 [Mapping hdmi-dts-surround-extra3]
329 description = Digital Surround 5.1 (HDMI 4/DTS)
330 device-strings = dcahdmi:%f,3
331 paths-output = hdmi-output-3
332 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
333 priority = 6
334 direction = output
335
336 [Mapping hdmi-stereo-extra4]
337 description = Digital Stereo (HDMI 5)
338 device-strings = hdmi:%f,4
339 paths-output = hdmi-output-4
340 channel-map = left,right
341 priority = 7
342 direction = output
343
344 [Mapping hdmi-surround-extra4]
345 description = Digital Surround 5.1 (HDMI 5)
346 device-strings = hdmi:%f,4
347 paths-output = hdmi-output-4
348 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
349 priority = 6
350 direction = output
351
352 [Mapping hdmi-surround71-extra4]
353 description = Digital Surround 7.1 (HDMI 5)
354 device-strings = hdmi:%f,4
355 paths-output = hdmi-output-4
356 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
357 priority = 6
358 direction = output
359
360 [Mapping hdmi-dts-surround-extra4]
361 description = Digital Surround 5.1 (HDMI 5/DTS)
362 device-strings = dcahdmi:%f,4
363 paths-output = hdmi-output-4
364 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
365 priority = 6
366 direction = output
367
368 [Mapping hdmi-stereo-extra5]
369 description = Digital Stereo (HDMI 6)
370 device-strings = hdmi:%f,5
371 paths-output = hdmi-output-5
372 channel-map = left,right
373 priority = 7
374 direction = output
375
376 [Mapping hdmi-surround-extra5]
377 description = Digital Surround 5.1 (HDMI 6)
378 device-strings = hdmi:%f,5
379 paths-output = hdmi-output-5
380 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
381 priority = 6
382 direction = output
383
384 [Mapping hdmi-surround71-extra5]
385 description = Digital Surround 7.1 (HDMI 6)
386 device-strings = hdmi:%f,5
387 paths-output = hdmi-output-5
388 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
389 priority = 6
390 direction = output
391
392 [Mapping hdmi-dts-surround-extra5]
393 description = Digital Surround 5.1 (HDMI 6/DTS)
394 device-strings = dcahdmi:%f,5
395 paths-output = hdmi-output-5
396 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
397 priority = 6
398 direction = output
399
400 [Mapping hdmi-stereo-extra6]
401 description = Digital Stereo (HDMI 7)
402 device-strings = hdmi:%f,6
403 paths-output = hdmi-output-6
404 channel-map = left,right
405 priority = 7
406 direction = output
407
408 [Mapping hdmi-surround-extra6]
409 description = Digital Surround 5.1 (HDMI 7)
410 device-strings = hdmi:%f,6
411 paths-output = hdmi-output-6
412 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
413 priority = 6
414 direction = output
415
416 [Mapping hdmi-surround71-extra6]
417 description = Digital Surround 7.1 (HDMI 7)
418 device-strings = hdmi:%f,6
419 paths-output = hdmi-output-6
420 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
421 priority = 6
422 direction = output
423
424 [Mapping hdmi-dts-surround-extra6]
425 description = Digital Surround 5.1 (HDMI 7/DTS)
426 device-strings = dcahdmi:%f,6
427 paths-output = hdmi-output-6
428 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
429 priority = 6
430 direction = output
431
432 [Mapping hdmi-stereo-extra7]
433 description = Digital Stereo (HDMI 8)
434 device-strings = hdmi:%f,7
435 paths-output = hdmi-output-7
436 channel-map = left,right
437 priority = 7
438 direction = output
439
440 [Mapping hdmi-surround-extra7]
441 description = Digital Surround 5.1 (HDMI 8)
442 device-strings = hdmi:%f,7
443 paths-output = hdmi-output-7
444 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
445 priority = 6
446 direction = output
447
448 [Mapping hdmi-surround71-extra7]
449 description = Digital Surround 7.1 (HDMI 8)
450 device-strings = hdmi:%f,7
451 paths-output = hdmi-output-7
452 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
453 priority = 6
454 direction = output
455
456 [Mapping hdmi-dts-surround-extra7]
457 description = Digital Surround 5.1 (HDMI 8/DTS)
458 device-strings = dcahdmi:%f,7
459 paths-output = hdmi-output-7
460 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
461 priority = 6
462 direction = output
463
464 [Mapping hdmi-stereo-extra8]
465 description = Digital Stereo (HDMI 9)
466 device-strings = hdmi:%f,8
467 paths-output = hdmi-output-8
468 channel-map = left,right
469 priority = 7
470 direction = output
471
472 [Mapping hdmi-surround-extra8]
473 description = Digital Surround 5.1 (HDMI 9)
474 device-strings = hdmi:%f,8
475 paths-output = hdmi-output-8
476 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
477 priority = 6
478 direction = output
479
480 [Mapping hdmi-surround71-extra8]
481 description = Digital Surround 7.1 (HDMI 9)
482 device-strings = hdmi:%f,8
483 paths-output = hdmi-output-8
484 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
485 priority = 6
486 direction = output
487
488 [Mapping hdmi-dts-surround-extra8]
489 description = Digital Surround 5.1 (HDMI 9/DTS)
490 device-strings = dcahdmi:%f,8
491 paths-output = hdmi-output-8
492 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
493 priority = 6
494 direction = output
495
496 [Mapping hdmi-stereo-extra9]
497 description = Digital Stereo (HDMI 10)
498 device-strings = hdmi:%f,9
499 paths-output = hdmi-output-9
500 channel-map = left,right
501 priority = 7
502 direction = output
503
504 [Mapping hdmi-surround-extra9]
505 description = Digital Surround 5.1 (HDMI 10)
506 device-strings = hdmi:%f,9
507 paths-output = hdmi-output-9
508 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
509 priority = 6
510 direction = output
511
512 [Mapping hdmi-surround71-extra9]
513 description = Digital Surround 7.1 (HDMI 10)
514 device-strings = hdmi:%f,9
515 paths-output = hdmi-output-9
516 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
517 priority = 6
518 direction = output
519
520 [Mapping hdmi-dts-surround-extra9]
521 description = Digital Surround 5.1 (HDMI 10/DTS)
522 device-strings = dcahdmi:%f,9
523 paths-output = hdmi-output-9
524 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
525 priority = 6
526 direction = output
527
528 [Mapping hdmi-stereo-extra10]
529 description = Digital Stereo (HDMI 11)
530 device-strings = hdmi:%f,10
531 paths-output = hdmi-output-10
532 channel-map = left,right
533 priority = 7
534 direction = output
535
536 [Mapping hdmi-surround-extra10]
537 description = Digital Surround 5.1 (HDMI 11)
538 device-strings = hdmi:%f,10
539 paths-output = hdmi-output-10
540 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
541 priority = 6
542 direction = output
543
544 [Mapping hdmi-surround71-extra10]
545 description = Digital Surround 7.1 (HDMI 11)
546 device-strings = hdmi:%f,10
547 paths-output = hdmi-output-10
548 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
549 priority = 6
550 direction = output
551
552 [Mapping hdmi-dts-surround-extra10]
553 description = Digital Surround 5.1 (HDMI 11/DTS)
554 device-strings = dcahdmi:%f,10
555 paths-output = hdmi-output-10
556 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
557 priority = 6
558 direction = output
559
560 [Mapping multichannel-output]
561 device-strings = hw:%f
562 channel-map = left,right,rear-left,rear-right
563 exact-channels = false
564 fallback = yes
565 priority = 1
566 direction = output
567
568 [Mapping multichannel-input]
569 device-strings = hw:%f
570 channel-map = left,right,rear-left,rear-right
571 exact-channels = false
572 fallback = yes
573 priority = 1
574 direction = input
575
576 ; An example for defining multiple-sink profiles
577 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
578 #description = Foobar
579 #output-mappings = analog-stereo iec958-stereo
580 #input-mappings = analog-stereo