• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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, see <http://www.gnu.org/licenses/>.
15
16; This profile forces a speaker port even if we have no way of identifying it.
17; See default.conf for explanations.
18
19[General]
20auto-profiles = yes
21
22[Mapping analog-mono]
23device-strings = hw:%f
24channel-map = mono
25paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono
26paths-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
27priority = 1
28
29[Mapping analog-stereo]
30device-strings = front:%f hw:%f
31channel-map = left,right
32paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono
33paths-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
34priority = 10
35
36[Mapping analog-surround-21]
37device-strings = surround21:%f
38channel-map = front-left,front-right,lfe
39paths-output = analog-output analog-output-lineout analog-output-speaker-always
40priority = 8
41direction = output
42
43[Mapping analog-surround-40]
44device-strings = surround40:%f
45channel-map = front-left,front-right,rear-left,rear-right
46paths-output = analog-output analog-output-lineout analog-output-speaker-always
47priority = 7
48direction = output
49
50[Mapping analog-surround-41]
51device-strings = surround41:%f
52channel-map = front-left,front-right,rear-left,rear-right,lfe
53paths-output = analog-output analog-output-lineout analog-output-speaker-always
54priority = 8
55direction = output
56
57[Mapping analog-surround-50]
58device-strings = surround50:%f
59channel-map = front-left,front-right,rear-left,rear-right,front-center
60paths-output = analog-output analog-output-lineout analog-output-speaker-always
61priority = 7
62direction = output
63
64[Mapping analog-surround-51]
65device-strings = surround51:%f
66channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
67paths-output = analog-output analog-output-lineout analog-output-speaker-always
68priority = 8
69direction = output
70
71[Mapping analog-surround-71]
72device-strings = surround71:%f
73channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
74description = Analog Surround 7.1
75paths-output = analog-output analog-output-lineout analog-output-speaker-always
76priority = 7
77direction = output
78
79[Mapping analog-4-channel-input]
80# Alsa doesn't currently provide any better device name than "hw" for 4-channel
81# input. If this causes trouble at some point, then we will need to get a new
82# device name standardized in alsa.
83device-strings = hw:%f
84channel-map = aux0,aux1,aux2,aux3
85priority = 1
86direction = input
87
88[Mapping iec958-stereo]
89device-strings = iec958:%f
90channel-map = left,right
91paths-input = iec958-stereo-input
92paths-output = iec958-stereo-output
93priority = 5
94
95[Mapping iec958-ac3-surround-40]
96device-strings = a52:%f
97channel-map = front-left,front-right,rear-left,rear-right
98paths-output = iec958-stereo-output
99priority = 2
100direction = output
101
102[Mapping iec958-ac3-surround-51]
103device-strings = a52:%f
104channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
105paths-output = iec958-stereo-output
106priority = 3
107direction = output
108
109[Mapping iec958-dts-surround-51]
110device-strings = dca:%f
111channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
112paths-output = iec958-stereo-output
113priority = 3
114direction = output
115
116[Mapping hdmi-stereo]
117description = Digital Stereo (HDMI)
118device-strings = hdmi:%f
119paths-output = hdmi-output-0
120channel-map = left,right
121priority = 4
122direction = output
123
124[Mapping hdmi-surround]
125description = Digital Surround 5.1 (HDMI)
126device-strings = hdmi:%f
127paths-output = hdmi-output-0
128channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
129priority = 3
130direction = output
131
132[Mapping hdmi-surround71]
133description = Digital Surround 7.1 (HDMI)
134device-strings = hdmi:%f
135paths-output = hdmi-output-0
136channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
137priority = 3
138direction = output
139
140[Mapping hdmi-dts-surround]
141description = Digital Surround 5.1 (HDMI/DTS)
142device-strings = dcahdmi:%f
143paths-output = hdmi-output-0
144channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
145priority = 1
146direction = output
147
148; An example for defining multiple-sink profiles
149#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
150#description = Foobar
151#output-mappings = analog-stereo iec958-stereo
152#input-mappings = analog-stereo
153