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 4 DJ 17; 18; This card has two stereo pairs of input and two stereo pairs of 19; output, named channels A and B. Channel B has an additional 20; 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] 28auto-profiles = no 29 30[Mapping analog-stereo-a] 31description = Analog Stereo Channel A 32device-strings = hw:%f,0,0 33channel-map = left,right 34 35[Mapping analog-stereo-b-output] 36description = Analog Stereo Channel B (Headphones) 37device-strings = hw:%f,0,1 38channel-map = left,right 39direction = output 40 41[Mapping analog-stereo-b-input] 42description = Analog Stereo Channel B 43device-strings = hw:%f,0,1 44channel-map = left,right 45direction = input 46 47[Profile output:analog-stereo-all+input:analog-stereo-all] 48description = Analog Stereo Duplex Channels A, B (Headphones) 49output-mappings = analog-stereo-a analog-stereo-b-output 50input-mappings = analog-stereo-a analog-stereo-b-input 51priority = 100 52skip-probe = yes 53 54[Profile output:analog-stereo-a+input:analog-stereo-a] 55description = Analog Stereo Duplex Channel A 56output-mappings = analog-stereo-a 57input-mappings = analog-stereo-a 58priority = 40 59skip-probe = yes 60 61[Profile output:analog-stereo-b+input:analog-stereo-b] 62description = Analog Stereo Duplex Channel B (Headphones) 63output-mappings = analog-stereo-b-output 64input-mappings = analog-stereo-b-input 65priority = 50 66skip-probe = yes 67 68[Profile output:analog-stereo-a] 69description = Analog Stereo Output Channel A 70output-mappings = analog-stereo-a 71priority = 5 72skip-probe = yes 73 74[Profile output:analog-stereo-b] 75description = Analog Stereo Output Channel B (Headphones) 76output-mappings = analog-stereo-b-output 77priority = 6 78skip-probe = yes 79 80[Profile input:analog-stereo-a] 81description = Analog Stereo Input Channel A 82input-mappings = analog-stereo-a 83priority = 2 84skip-probe = yes 85 86[Profile input:analog-stereo-b] 87description = Analog Stereo Input Channel B 88input-mappings = analog-stereo-b-input 89priority = 1 90skip-probe = yes 91