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; Texas Instruments PCM2902 17; 18; This is a generic chip used in multiple products, including at least 19; Behringer U-Phoria UMC22, Behringer Xenyx 302USB, Intopic Jazz-UB700 and 20; some unbranded "usb mini microphone". 21; 22; Behringer UMC22 has stereo input (representing two physical mono inputs), 23; others have mono input. 24; 25; Some devices have a mic input path, but at least Behringer Xenyx 302USB 26; doesn't have any input mixer controls. 27; 28; Since the UMC22 card has only stereo input PCM device but is commonly used 29; with mono mics, we define special mono mappings using "mono,aux1" and 30; "aux1,mono" channel maps. If we had only had the standard stereo input 31; mapping, the user would have to record stereo tracks with one channel silent, 32; which would be inconvenient. 33; 34; This config also removes default digital input/output mappings that do 35; not physically exist on cards that we've seen so far. 36; 37; Originally added by Nazar Mokrynskyi <nazar@mokrynskyi.com> for Behringer 38; UMC22. 39 40[General] 41auto-profiles = yes 42 43[Mapping analog-stereo-input] 44device-strings = hw:%f 45channel-map = left,right 46paths-input = analog-input-mic analog-input 47direction = input 48priority = 4 49 50[Mapping analog-mono] 51device-strings = hw:%f 52channel-map = mono 53paths-input = analog-input-mic analog-input 54direction = input 55priority = 3 56 57[Mapping analog-mono-left] 58device-strings = hw:%f 59channel-map = mono,aux1 60paths-input = analog-input-mic analog-input 61direction = input 62priority = 2 63 64[Mapping analog-mono-right] 65device-strings = hw:%f 66channel-map = aux1,mono 67paths-input = analog-input-mic analog-input 68direction = input 69priority = 1 70 71[Mapping analog-stereo-output] 72device-strings = front:%f 73channel-map = left,right 74paths-output = analog-output 75direction = output 76