]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/profile-sets/force-speaker.conf
alsa-mixer: Add surround 2.1 profile
[pulseaudio] / src / modules / alsa / mixer / profile-sets / force-speaker.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 profile forces a speaker port even if we have no way of identifying it.
18 ; See default.conf for explanations.
19
20 [General]
21 auto-profiles = yes
22
23 [Mapping analog-mono]
24 device-strings = hw:%f
25 channel-map = mono
26 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
27 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
28 priority = 1
29
30 [Mapping analog-stereo]
31 device-strings = front:%f hw:%f
32 channel-map = left,right
33 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
34 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
35 priority = 10
36
37 [Mapping analog-surround-21]
38 device-strings = surround21:%f
39 channel-map = front-left,front-right,lfe
40 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker
41 priority = 8
42 direction = output
43
44 [Mapping analog-surround-40]
45 device-strings = surround40:%f
46 channel-map = front-left,front-right,rear-left,rear-right
47 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
48 priority = 7
49 direction = output
50
51 [Mapping analog-surround-41]
52 device-strings = surround41:%f
53 channel-map = front-left,front-right,rear-left,rear-right,lfe
54 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
55 priority = 8
56 direction = output
57
58 [Mapping analog-surround-50]
59 device-strings = surround50:%f
60 channel-map = front-left,front-right,rear-left,rear-right,front-center
61 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
62 priority = 7
63 direction = output
64
65 [Mapping analog-surround-51]
66 device-strings = surround51:%f
67 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
68 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
69 priority = 8
70 direction = output
71
72 [Mapping analog-surround-71]
73 device-strings = surround71:%f
74 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
75 description = Analog Surround 7.1
76 paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-desktop-speaker
77 priority = 7
78 direction = output
79
80 [Mapping analog-4-channel-input]
81 # Alsa doesn't currently provide any better device name than "hw" for 4-channel
82 # input. If this causes trouble at some point, then we will need to get a new
83 # device name standardized in alsa.
84 device-strings = hw:%f
85 channel-map = aux0,aux1,aux2,aux3
86 priority = 1
87 direction = input
88
89 [Mapping iec958-stereo]
90 device-strings = iec958:%f
91 channel-map = left,right
92 paths-input = iec958-stereo-input
93 paths-output = iec958-stereo-output
94 priority = 5
95
96 [Mapping iec958-ac3-surround-40]
97 device-strings = a52:%f
98 channel-map = front-left,front-right,rear-left,rear-right
99 paths-output = iec958-stereo-output
100 priority = 2
101 direction = output
102
103 [Mapping iec958-ac3-surround-51]
104 device-strings = a52:%f
105 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
106 paths-output = iec958-stereo-output
107 priority = 3
108 direction = output
109
110 [Mapping iec958-dts-surround-51]
111 device-strings = dca:%f
112 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
113 paths-output = iec958-stereo-output
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 paths-output = hdmi-output-0
123
124 ; An example for defining multiple-sink profiles
125 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
126 #description = Foobar
127 #output-mappings = analog-stereo iec958-stereo
128 #input-mappings = analog-stereo