1 # This file is part of PulseAudio.
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.
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.
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.
17 ; Default profile definitions for the ALSA backend of PulseAudio. This
18 ; is used as fallback for all cards that have no special mapping
19 ; assigned. (and should be good enough for the vast majority of
20 ; cards). Use the udev property PULSE_PROFILE_SET to assign a
21 ; different profile set than this one to a device. So what is this
22 ; about? Simply, what we do here is map ALSA devices to how they are
23 ; exposed in PA. We say which ALSA device string to use to open a
24 ; device, which channel mapping to use then, and which mixer path to
25 ; use. This is encoded in a 'mapping'. Multiple of these mappings can
26 ; be bound together in a 'profile' which is then directly exposed in
27 ; the UI as a card profile. Each mapping assigned to a profile will
28 ; result in one sink/source to be created if the profile is selected
32 ; auto-profiles = no | yes # Instead of defining all profiles manually, autogenerate
33 ; # them by combining every input mapping with every output mapping.
36 ; device-strings = ... # ALSA device string. %f will be replaced by the card identifier.
37 ; channel-map = ... # Channel mapping to use for this device
39 ; paths-input = ... # A list of mixer paths to use. Every path in this list will be probed.
40 ; # If multiple are found to be working they will be available as device ports
42 ; element-input = ... # Instead of configuring a full mixer path simply configure a single
43 ; # mixer element for volume/mute handling
44 ; element-output = ...
46 ; direction = any | input | output # Only useful for?
49 ; input-mappings = ... # Lists mappings for sources on this profile, those mapping must be
50 ; # defined in this file too
51 ; output-mappings = ... # Lists mappings for sinks on this profile, those mappings must be
52 ; # defined in this file too
54 ; priority = ... # Numeric value to deduce priority for this profile
55 ; skip-probe = no | yes # Skip probing for availability? If this is yes then this profile
56 ; # will be assumed as working without probing. Makes initialization
57 ; # a bit faster but only works if the card is really known well.
65 paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono
66 paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
69 [Mapping analog-stereo]
70 device-strings = front:%f hw:0
71 channel-map = left,right
72 paths-output = analog-output analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono analog-output-lfe-on-mono
73 paths-input = analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line
76 [Mapping analog-surround-40]
77 device-strings = surround40:%f
78 channel-map = front-left,front-right,rear-left,rear-right
79 paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono
83 [Mapping analog-surround-41]
84 device-strings = surround41:%f
85 channel-map = front-left,front-right,rear-left,rear-right,lfe
86 paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono
90 [Mapping analog-surround-50]
91 device-strings = surround50:%f
92 channel-map = front-left,front-right,rear-left,rear-right,front-center
93 paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono
97 [Mapping analog-surround-51]
98 device-strings = surround51:%f
99 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
100 paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono
104 [Mapping analog-surround-71]
105 device-strings = surround71:%f
106 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
107 description = Analog Surround 7.1
108 paths-output = analog-output analog-output-speaker analog-output-lfe-on-mono
112 [Mapping iec958-stereo]
113 device-strings = iec958:%f
114 channel-map = left,right
117 [Mapping iec958-surround-40]
118 device-strings = iec958:%f
119 channel-map = front-left,front-right,rear-left,rear-right
122 [Mapping iec958-ac3-surround-40]
123 device-strings = a52:%f
124 channel-map = front-left,front-right,rear-left,rear-right
128 [Mapping iec958-ac3-surround-51]
129 device-strings = a52:%f
130 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
134 [Mapping hdmi-stereo]
135 device-strings = hdmi:%f
136 channel-map = left,right
140 ; An example for defining multiple-sink profiles
141 #[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
142 #description = Foobar
143 #output-mappings = analog-stereo iec958-stereo
144 #input-mappings = analog-stereo