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] 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] 36description = Analog Stereo Channel B 37device-strings = hw:%f,0,1 38channel-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] 43description = Analog Stereo Channel C 44device-strings = hw:%f,0,2 45channel-map = left,right 46direction = output 47 48[Mapping analog-stereo-c-input] 49description = Analog Stereo Channel C (Line/Mic) 50device-strings = hw:%f,0,2 51channel-map = left,right 52direction = input 53 54[Mapping analog-stereo-d-output] 55description = Analog Stereo Channel D (Headphones) 56device-strings = hw:%f,0,3 57channel-map = left,right 58direction = output 59 60[Mapping analog-stereo-d-input] 61description = Analog Stereo Channel D 62device-strings = hw:%f,0,3 63channel-map = left,right 64direction = input 65 66[Profile output:analog-stereo-all+input:analog-stereo-all] 67description = Analog Stereo Duplex Channels A, B, C (Line/Mic), D (Headphones) 68output-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-output analog-stereo-d-output 69input-mappings = analog-stereo-a analog-stereo-b analog-stereo-c-input analog-stereo-d-input 70priority = 100 71skip-probe = yes 72 73[Profile output:analog-stereo-d+input:analog-stereo-c] 74description = Analog Stereo Channel D (Headphones) Output, Channel C (Line/Mic) Input 75output-mappings = analog-stereo-d-output 76input-mappings = analog-stereo-c-input 77priority = 90 78skip-probe = yes 79 80[Profile output:analog-stereo-c-d+input:analog-stereo-c-d] 81description = Analog Stereo Duplex Channels C (Line/Mic), D (Line/Mic) 82output-mappings = analog-stereo-c-output analog-stereo-d-output 83input-mappings = analog-stereo-c-input analog-stereo-d-input 84priority = 80 85skip-probe = yes 86 87[Profile output:analog-stereo-a+input:analog-stereo-a] 88description = Analog Stereo Duplex Channel A 89output-mappings = analog-stereo-a 90input-mappings = analog-stereo-a 91priority = 50 92skip-probe = yes 93 94[Profile output:analog-stereo-b+input:analog-stereo-b] 95description = Analog Stereo Duplex Channel B 96output-mappings = analog-stereo-b 97input-mappings = analog-stereo-b 98priority = 40 99skip-probe = yes 100 101[Profile output:analog-stereo-c+input:analog-stereo-c] 102description = Analog Stereo Duplex Channel C (Line/Mic) 103output-mappings = analog-stereo-c-output 104input-mappings = analog-stereo-c-input 105priority = 60 106skip-probe = yes 107 108[Profile output:analog-stereo-d+input:analog-stereo-d] 109description = Analog Stereo Duplex Channel D (Headphones) 110output-mappings = analog-stereo-d-output 111input-mappings = analog-stereo-d-input 112priority = 70 113skip-probe = yes 114 115[Profile output:analog-stereo-a] 116description = Analog Stereo Output Channel A 117output-mappings = analog-stereo-a 118priority = 6 119skip-probe = yes 120 121[Profile output:analog-stereo-b] 122description = Analog Stereo Output Channel B 123output-mappings = analog-stereo-b 124priority = 5 125skip-probe = yes 126 127[Profile output:analog-stereo-c] 128description = Analog Stereo Output Channel C 129output-mappings = analog-stereo-c-output 130priority = 7 131skip-probe = yes 132 133[Profile output:analog-stereo-d] 134description = Analog Stereo Output Channel D (Headphones) 135output-mappings = analog-stereo-d-output 136priority = 8 137skip-probe = yes 138 139[Profile input:analog-stereo-a] 140description = Analog Stereo Input Channel A 141input-mappings = analog-stereo-a 142priority = 2 143skip-probe = yes 144 145[Profile input:analog-stereo-b] 146description = Analog Stereo Input Channel B 147input-mappings = analog-stereo-b 148priority = 1 149skip-probe = yes 150 151[Profile input:analog-stereo-c] 152description = Analog Stereo Input Channel C (Line/Mic) 153input-mappings = analog-stereo-c-input 154priority = 4 155skip-probe = yes 156 157[Profile input:analog-stereo-d] 158description = Analog Stereo Input Channel D 159input-mappings = analog-stereo-d-input 160priority = 3 161skip-probe = yes 162