remove and rename some dirs to avoid confusion
[platform/adaptation/intel_mfld/mmfw-sysconf-mfld-blackbay.git] / mmfw-sysconf-mfld-blackbay / usr / share / pulseaudio / alsa-mixer / profile-sets / default.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 ; 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
29 ; for the card.
30
31 ; [General]
32 ; auto-profiles = no | yes                  # Instead of defining all profiles manually, autogenerate
33 ;                                           # them by combining every input mapping with every output mapping.
34 ;
35 ; [Mapping id]
36 ; device-strings = ...                      # ALSA device string. %f will be replaced by the card identifier.
37 ; channel-map = ...                         # Channel mapping to use for this device
38 ; description = ...
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
41 ; paths-output = ...
42 ; element-input = ...                       # Instead of configuring a full mixer path simply configure a single
43 ;                                           # mixer element for volume/mute handling
44 ; element-output = ...
45 ; priority = ...
46 ; direction = any | input | output          # Only useful for?
47 ;
48 ; [Profile id]
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
53 ; description = ...
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.
58
59 [General]
60 auto-profiles = yes
61
62 [Mapping analog-mono]
63 device-strings = hw:0
64 channel-map = mono
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
67 priority = 1
68
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
74 priority = 10
75
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
80 priority = 7
81 direction = output
82
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
87 priority = 8
88 direction = output
89
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
94 priority = 7
95 direction = output
96
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
101 priority = 8
102 direction = output
103
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
109 priority = 7
110 direction = output
111
112 [Mapping iec958-stereo]
113 device-strings = iec958:%f
114 channel-map = left,right
115 priority = 5
116
117 [Mapping iec958-surround-40]
118 device-strings = iec958:%f
119 channel-map = front-left,front-right,rear-left,rear-right
120 priority = 1
121
122 [Mapping iec958-ac3-surround-40]
123 device-strings = a52:%f
124 channel-map = front-left,front-right,rear-left,rear-right
125 priority = 2
126 direction = output
127
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
131 priority = 3
132 direction = output
133
134 [Mapping hdmi-stereo]
135 device-strings = hdmi:%f
136 channel-map = left,right
137 priority = 4
138 direction = output
139
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