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] 25auto-profiles = no 26 27[Mapping analog-stereo-output-main] 28description = Analog Stereo Main Out 29device-strings = hw:%f,0,0 30channel-map = left,right 31 32[Mapping analog-stereo-output-headphone] 33description = Analog Stereo Headphones Out 34device-strings = hw:%f,0,1 35channel-map = left,right 36direction = output 37 38[Mapping analog-stereo-c-input] 39description = Analog Stereo Channel C 40device-strings = hw:%f,0,1 41channel-map = left,right 42direction = input 43 44[Mapping analog-stereo-d-input] 45description = Analog Stereo Channel D 46device-strings = hw:%f,0,1 47channel-map = left,right 48direction = input 49 50[Profile output:analog-stereo-all+input:analog-stereo-all] 51description = Analog Stereo Duplex 52output-mappings = analog-stereo-output-main analog-stereo-output-headphone 53input-mappings = analog-stereo-c-input analog-stereo-d-input 54priority = 100 55skip-probe = yes 56 57[Profile output:analog-stereo-main] 58description = Analog Stereo Main Output 59output-mappings = analog-stereo-output-main 60priority = 4 61skip-probe = yes 62 63[Profile output:analog-stereo-headphone] 64description = Analog Stereo Output Headphones Out 65output-mappings = analog-stereo-output-headphone 66priority = 3 67skip-probe = yes 68 69[Profile input:analog-stereo-c] 70description = Analog Stereo Input Channel C 71input-mappings = analog-stereo-c-input 72priority = 2 73skip-probe = yes 74 75[Profile input:analog-stereo-d] 76description = Analog Stereo Input Channel D 77input-mappings = analog-stereo-d-input 78priority = 1 79skip-probe = yes 80 81