]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/profile-sets/extra-hdmi.conf
alsa-mixer: Add surround 2.1 profile
[pulseaudio] / src / modules / alsa / mixer / profile-sets / extra-hdmi.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 ; This is a profile for Nvidia and Intel cards - some cards have four HDMI codecs,
18 ; and which ones are working seems to vary a lot between GPU boards. In addition,
19 ; Nvidia and Intel make southbridges as well, so we need to keep the existing
20 ; analog profiles.
21 ; (And by not adding all these extra profiles to default.conf, we make sure
22 ; there is no performance hit for non-Nvidia/Intel cards.)
23
24 [General]
25 auto-profiles = yes
26
27 [Mapping analog-mono]
28 device-strings = hw:%f
29 channel-map = mono
30 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
31 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
32 priority = 1
33
34 [Mapping analog-stereo]
35 device-strings = front:%f hw:%f
36 channel-map = left,right
37 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2
38 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
39 priority = 10
40
41 [Mapping analog-surround-21]
42 device-strings = surround21:%f
43 channel-map = front-left,front-right,lfe
44 paths-output = analog-output analog-output-speaker analog-output-desktop-speaker
45 priority = 8
46 direction = output
47
48 [Mapping analog-surround-40]
49 device-strings = surround40:%f
50 channel-map = front-left,front-right,rear-left,rear-right
51 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker
52 priority = 7
53 direction = output
54
55 [Mapping analog-surround-41]
56 device-strings = surround41:%f
57 channel-map = front-left,front-right,rear-left,rear-right,lfe
58 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker
59 priority = 8
60 direction = output
61
62 [Mapping analog-surround-50]
63 device-strings = surround50:%f
64 channel-map = front-left,front-right,rear-left,rear-right,front-center
65 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker
66 priority = 7
67 direction = output
68
69 [Mapping analog-surround-51]
70 device-strings = surround51:%f
71 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
72 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker
73 priority = 8
74 direction = output
75
76 [Mapping analog-surround-71]
77 device-strings = surround71:%f
78 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
79 description = Analog Surround 7.1
80 paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-desktop-speaker
81 priority = 7
82 direction = output
83
84 [Mapping iec958-stereo]
85 device-strings = iec958:%f
86 channel-map = left,right
87 paths-input = iec958-stereo-input
88 paths-output = iec958-stereo-output
89 priority = 5
90
91 [Mapping iec958-ac3-surround-40]
92 device-strings = a52:%f
93 channel-map = front-left,front-right,rear-left,rear-right
94 priority = 2
95 direction = output
96
97 [Mapping iec958-ac3-surround-51]
98 device-strings = a52:%f
99 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
100 priority = 3
101 direction = output
102
103 [Mapping iec958-dts-surround-51]
104 device-strings = dca:%f
105 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
106 priority = 3
107 direction = output
108
109 [Mapping hdmi-stereo]
110 device-strings = hdmi:%f
111 description = Digital Stereo (HDMI)
112 paths-output = hdmi-output-0
113 channel-map = left,right
114 priority = 4
115 direction = output
116
117 [Mapping hdmi-surround]
118 description = Digital Surround 5.1 (HDMI)
119 device-strings = hdmi:%f
120 paths-output = hdmi-output-0
121 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
122 priority = 3
123 direction = output
124
125 [Mapping hdmi-stereo-extra1]
126 description = Digital Stereo (HDMI 2)
127 device-strings = hdmi:%f,1
128 paths-output = hdmi-output-1
129 channel-map = left,right
130 priority = 2
131 direction = output
132
133 [Mapping hdmi-surround-extra1]
134 description = Digital Surround 5.1 (HDMI 2)
135 device-strings = hdmi:%f,1
136 paths-output = hdmi-output-1
137 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
138 priority = 1
139 direction = output
140
141 [Mapping hdmi-stereo-extra2]
142 description = Digital Stereo (HDMI 3)
143 device-strings = hdmi:%f,2
144 paths-output = hdmi-output-2
145 channel-map = left,right
146 priority = 2
147 direction = output
148
149 [Mapping hdmi-surround-extra2]
150 description = Digital Surround 5.1 (HDMI 3)
151 device-strings = hdmi:%f,2
152 paths-output = hdmi-output-2
153 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
154 priority = 1
155 direction = output
156
157 [Mapping hdmi-stereo-extra3]
158 description = Digital Stereo (HDMI 4)
159 device-strings = hdmi:%f,3
160 paths-output = hdmi-output-3
161 channel-map = left,right
162 priority = 2
163 direction = output
164
165 [Mapping hdmi-surround-extra3]
166 description = Digital Surround 5.1 (HDMI 4)
167 device-strings = hdmi:%f,3
168 paths-output = hdmi-output-3
169 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
170 priority = 1
171 direction = output