]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/profile-sets/default.conf
alsa: document default profile set a bit better
[pulseaudio] / src / modules / alsa / mixer / profile-sets / default.conf
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, write to the Free Software Foundation,
15 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 ; Default profile definitions for the ALSA backend of PulseAudio. This
18 ; is used as fallback for all cards that have no special mapping
19 ; assigned. (and should be good enough for the vast majority of cards)
20 ;
21 ; [General]
22 ; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate them by combining every input mapping with every output mapping.
23 ;
24 ; [Mapping id]
25 ; device-strings = ... # ALSA device string. %f will be replaced by the card identifier.
26 ; channel-map = ... # Channel mapping to use for this device
27 ; description = ...
28 ; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed. If multiple are found to be working they will be available as device ports
29 ; paths-output = ...
30 ; element-input = ... # Instead of configuring a full mixer path simply configure a single mixer element for volume/mute handling
31 ; element-output = ...
32 ; priority = ...
33 ; direction = any | input | output # Only useful for?
34 ;
35 ; [Profile id]
36 ; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be defined in this file too
37 ; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be defined in this file too
38 ; description = ...
39 ; priority = ... # Numeric value to deduce priority for this profile
40 ; skip-probe = no | yes # Skip probing for availability?
41
42 [General]
43 auto-profiles = yes
44
45 [Mapping analog-mono]
46 device-strings = hw:%f
47 channel-map = mono
48 paths-output = analog-output analog-output-headphones analog-output-mono analog-output-lfe-on-mono
49 paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
50 priority = 1
51
52 [Mapping analog-stereo]
53 device-strings = front:%f hw:%f
54 channel-map = left,right
55 paths-output = analog-output analog-output-headphones analog-output-mono analog-output-lfe-on-mono
56 paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
57 priority = 10
58
59 [Mapping analog-surround-40]
60 device-strings = surround40:%f
61 channel-map = front-left,front-right,rear-left,rear-right
62 paths-output = analog-output analog-output-lfe-on-mono
63 priority = 7
64 direction = output
65
66 [Mapping analog-surround-41]
67 device-strings = surround41:%f
68 channel-map = front-left,front-right,rear-left,rear-right,lfe
69 paths-output = analog-output analog-output-lfe-on-mono
70 priority = 8
71 direction = output
72
73 [Mapping analog-surround-50]
74 device-strings = surround50:%f
75 channel-map = front-left,front-right,rear-left,rear-right,front-center
76 paths-output = analog-output analog-output-lfe-on-mono
77 priority = 7
78 direction = output
79
80 [Mapping analog-surround-51]
81 device-strings = surround51:%f
82 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
83 paths-output = analog-output analog-output-lfe-on-mono
84 priority = 8
85 direction = output
86
87 [Mapping analog-surround-71]
88 device-strings = surround71:%f
89 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
90 description = Analog Surround 7.1
91 paths-output = analog-output analog-output-lfe-on-mono
92 priority = 7
93 direction = output
94
95 [Mapping iec958-stereo]
96 device-strings = iec958:%f
97 channel-map = left,right
98 priority = 5
99
100 [Mapping iec958-surround-40]
101 device-strings = iec958:%f
102 channel-map = front-left,front-right,rear-left,rear-right
103 priority = 1
104
105 [Mapping iec958-ac3-surround-40]
106 device-strings = a52:%f
107 channel-map = front-left,front-right,rear-left,rear-right
108 priority = 2
109 direction = output
110
111 [Mapping iec958-ac3-surround-51]
112 device-strings = a52:%f
113 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
114 priority = 3
115 direction = output
116
117 [Mapping hdmi-stereo]
118 device-strings = hdmi:%f
119 channel-map = left,right
120 priority = 4
121 direction = output
122
123 ; An example for defining multiple-sink profiles
124 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
125 #description = Foobar
126 #output-mappings = analog-stereo iec958-stereo
127 #input-mappings = analog-stereo