dc1b78063699270afa105ca0a8ab3656cee74c32
[platform/hal/backend/media-config.git] /
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 ; Native Instruments Audio 8 DJ
17 ;
18 ; This card has four stereo pairs of input and four stereo pairs of
19 ; output, named channels A to D. Channel C has an additional Mic/Line
20 ; connector, channel D an additional Headphone connector.
21 ;
22 ; We knowingly only define a subset of the theoretically possible
23 ; mapping combinations as profiles here.
24 ;
25 ; See default.conf for an explanation on the directives used here.
26
27 [General]
28 auto-profiles = no
29
30 [Mapping analog-stereo-a]
31 description = Analog Stereo Channel A
32 device-strings = hw:%f,0,0
33 channel-map = left,right
34
35 [Mapping analog-stereo-b]
36 description = Analog Stereo Channel B
37 device-strings = hw:%f,0,1
38 channel-map = left,right
39
40 # Since we want to set a different description for channel C's/D's input
41 # and output we define two separate mappings for them
42 [Mapping analog-stereo-c-output]
43 description = Analog Stereo Channel C
44 device-strings = hw:%f,0,2
45 channel-map = left,right
46 direction = output
47
48 [Mapping analog-stereo-c-input]
49 description = Analog Stereo Channel C (Line/Mic)
50 device-strings = hw:%f,0,2
51 channel-map = left,right
52 direction = input
53
54 [Mapping analog-stereo-d-output]
55 description = Analog Stereo Channel D (Headphones)
56 device-strings = hw:%f,0,3
57 channel-map = left,right
58 direction = output
59
60 [Mapping analog-stereo-d-input]
61 description = Analog Stereo Channel D
62 device-strings = hw:%f,0,3
63 channel-map = left,right
64 direction = input
65
66 [Profile output:analog-stereo-all+input:analog-stereo-all]
67 description = Analog Stereo Duplex Channels A, B, C (Line/Mic), D (Headphones)
68 output-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-output analog-stereo-d-output
69 input-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-input analog-stereo-d-input
70 priority = 100
71 skip-probe = yes
72
73 [Profile output:analog-stereo-d+input:analog-stereo-c]
74 description = Analog Stereo Channel D (Headphones) Output, Channel C (Line/Mic) Input
75 output-mappings = analog-stereo-d-output
76 input-mappings = analog-stereo-c-input
77 priority = 90
78 skip-probe = yes
79
80 [Profile output:analog-stereo-c-d+input:analog-stereo-c-d]
81 description = Analog Stereo Duplex Channels C (Line/Mic), D (Line/Mic)
82 output-mappings = analog-stereo-c-output analog-stereo-d-output
83 input-mappings = analog-stereo-c-input analog-stereo-d-input
84 priority = 80
85 skip-probe = yes
86
87 [Profile output:analog-stereo-a+input:analog-stereo-a]
88 description = Analog Stereo Duplex Channel A
89 output-mappings = analog-stereo-a
90 input-mappings = analog-stereo-a
91 priority = 50
92 skip-probe = yes
93
94 [Profile output:analog-stereo-b+input:analog-stereo-b]
95 description = Analog Stereo Duplex Channel B
96 output-mappings = analog-stereo-b
97 input-mappings = analog-stereo-b
98 priority = 40
99 skip-probe = yes
100
101 [Profile output:analog-stereo-c+input:analog-stereo-c]
102 description = Analog Stereo Duplex Channel C (Line/Mic)
103 output-mappings = analog-stereo-c-output
104 input-mappings = analog-stereo-c-input
105 priority = 60
106 skip-probe = yes
107
108 [Profile output:analog-stereo-d+input:analog-stereo-d]
109 description = Analog Stereo Duplex Channel D (Headphones)
110 output-mappings = analog-stereo-d-output
111 input-mappings = analog-stereo-d-input
112 priority = 70
113 skip-probe = yes
114
115 [Profile output:analog-stereo-a]
116 description = Analog Stereo Output Channel A
117 output-mappings = analog-stereo-a
118 priority = 6
119 skip-probe = yes
120
121 [Profile output:analog-stereo-b]
122 description = Analog Stereo Output Channel B
123 output-mappings = analog-stereo-b
124 priority = 5
125 skip-probe = yes
126
127 [Profile output:analog-stereo-c]
128 description = Analog Stereo Output Channel C
129 output-mappings = analog-stereo-c-output
130 priority = 7
131 skip-probe = yes
132
133 [Profile output:analog-stereo-d]
134 description = Analog Stereo Output Channel D (Headphones)
135 output-mappings = analog-stereo-d-output
136 priority = 8
137 skip-probe = yes
138
139 [Profile input:analog-stereo-a]
140 description = Analog Stereo Input Channel A
141 input-mappings = analog-stereo-a
142 priority = 2
143 skip-probe = yes
144
145 [Profile input:analog-stereo-b]
146 description = Analog Stereo Input Channel B
147 input-mappings = analog-stereo-b
148 priority = 1
149 skip-probe = yes
150
151 [Profile input:analog-stereo-c]
152 description = Analog Stereo Input Channel C (Line/Mic)
153 input-mappings = analog-stereo-c-input
154 priority = 4
155 skip-probe = yes
156
157 [Profile input:analog-stereo-d]
158 description = Analog Stereo Input Channel D
159 input-mappings = analog-stereo-d-input
160 priority = 3
161 skip-probe = yes