934965fdcf0de901e7496369d4da5bbced871b93
[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 Traktor Kontrol S4
17 ;
18 ; This controller has two stereo pairs of input (named "Channel C" and
19 ; "Channel D") and two stereo pairs of output, one "Main Out" and
20 ; "Headphone Out".
21 ;
22 ; See default.conf for an explanation on the directives used here.
23
24 [General]
25 auto-profiles = no
26
27 [Mapping analog-stereo-output-main]
28 description = Analog Stereo Main Out
29 device-strings = hw:%f,0,0
30 channel-map = left,right
31
32 [Mapping analog-stereo-output-headphone]
33 description = Analog Stereo Headphones Out
34 device-strings = hw:%f,0,1
35 channel-map = left,right
36 direction = output
37
38 [Mapping analog-stereo-c-input]
39 description = Analog Stereo Channel C
40 device-strings = hw:%f,0,1
41 channel-map = left,right
42 direction = input
43
44 [Mapping analog-stereo-d-input]
45 description = Analog Stereo Channel D
46 device-strings = hw:%f,0,1
47 channel-map = left,right
48 direction = input
49
50 [Profile output:analog-stereo-all+input:analog-stereo-all]
51 description = Analog Stereo Duplex
52 output-mappings = analog-stereo-output-main analog-stereo-output-headphone
53 input-mappings = analog-stereo-c-input analog-stereo-d-input
54 priority = 100
55 skip-probe = yes
56
57 [Profile output:analog-stereo-main]
58 description = Analog Stereo Main Output
59 output-mappings = analog-stereo-output-main
60 priority = 4
61 skip-probe = yes
62
63 [Profile output:analog-stereo-headphone]
64 description = Analog Stereo Output Headphones Out
65 output-mappings = analog-stereo-output-headphone
66 priority = 3
67 skip-probe = yes
68
69 [Profile input:analog-stereo-c]
70 description = Analog Stereo Input Channel C
71 input-mappings = analog-stereo-c-input
72 priority = 2
73 skip-probe = yes
74
75 [Profile input:analog-stereo-d]
76 description = Analog Stereo Input Channel D
77 input-mappings = analog-stereo-d-input
78 priority = 1
79 skip-probe = yes
80