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