]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/profile-sets/force-speaker.conf
alsa-mixer: Add special profiles for some laptops missing speaker and/or internal mic
[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-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-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-speaker-always analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-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-40]
38 device-strings = surround40:%f
39 channel-map = front-left,front-right,rear-left,rear-right
40 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker analog-output-lfe-on-mono
41 priority = 7
42 direction = output
43
44 [Mapping analog-surround-41]
45 device-strings = surround41:%f
46 channel-map = front-left,front-right,rear-left,rear-right,lfe
47 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker analog-output-lfe-on-mono
48 priority = 8
49 direction = output
50
51 [Mapping analog-surround-50]
52 device-strings = surround50:%f
53 channel-map = front-left,front-right,rear-left,rear-right,front-center
54 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker analog-output-lfe-on-mono
55 priority = 7
56 direction = output
57
58 [Mapping analog-surround-51]
59 device-strings = surround51:%f
60 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
61 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker analog-output-lfe-on-mono
62 priority = 8
63 direction = output
64
65 [Mapping analog-surround-71]
66 device-strings = surround71:%f
67 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
68 description = Analog Surround 7.1
69 paths-output = analog-output analog-output-speaker-always analog-output-desktop-speaker analog-output-lfe-on-mono
70 priority = 7
71 direction = output
72
73 [Mapping analog-4-channel-input]
74 # Alsa doesn't currently provide any better device name than "hw" for 4-channel
75 # input. If this causes trouble at some point, then we will need to get a new
76 # device name standardized in alsa.
77 device-strings = hw:%f
78 channel-map = aux0,aux1,aux2,aux3
79 priority = 1
80 direction = input
81
82 [Mapping iec958-stereo]
83 device-strings = iec958:%f
84 channel-map = left,right
85 paths-input = iec958-stereo-input
86 paths-output = iec958-stereo-output
87 priority = 5
88
89 [Mapping iec958-ac3-surround-40]
90 device-strings = a52:%f
91 channel-map = front-left,front-right,rear-left,rear-right
92 paths-output = iec958-stereo-output
93 priority = 2
94 direction = output
95
96 [Mapping iec958-ac3-surround-51]
97 device-strings = a52:%f
98 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
99 paths-output = iec958-stereo-output
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 paths-output = iec958-stereo-output
107 priority = 3
108 direction = output
109
110 [Mapping hdmi-stereo]
111 device-strings = hdmi:%f
112 channel-map = left,right
113 priority = 4
114 direction = output
115 paths-output = hdmi-output-0
116
117 ; An example for defining multiple-sink profiles
118 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
119 #description = Foobar
120 #output-mappings = analog-stereo iec958-stereo
121 #input-mappings = analog-stereo