153a5a1b3Sopenharmony_ci# This file is part of PulseAudio. 253a5a1b3Sopenharmony_ci# 353a5a1b3Sopenharmony_ci# PulseAudio is free software; you can redistribute it and/or modify 453a5a1b3Sopenharmony_ci# it under the terms of the GNU Lesser General Public License as 553a5a1b3Sopenharmony_ci# published by the Free Software Foundation; either version 2.1 of the 653a5a1b3Sopenharmony_ci# License, or (at your option) any later version. 753a5a1b3Sopenharmony_ci# 853a5a1b3Sopenharmony_ci# PulseAudio is distributed in the hope that it will be useful, but 953a5a1b3Sopenharmony_ci# WITHOUT ANY WARRANTY; without even the implied warranty of 1053a5a1b3Sopenharmony_ci# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1153a5a1b3Sopenharmony_ci# General Public License for more details. 1253a5a1b3Sopenharmony_ci# 1353a5a1b3Sopenharmony_ci# You should have received a copy of the GNU Lesser General Public License 1453a5a1b3Sopenharmony_ci# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>. 1553a5a1b3Sopenharmony_ci 1653a5a1b3Sopenharmony_ci; Texas Instruments PCM2902 1753a5a1b3Sopenharmony_ci; 1853a5a1b3Sopenharmony_ci; This is a generic chip used in multiple products, including at least 1953a5a1b3Sopenharmony_ci; Behringer U-Phoria UMC22, Behringer Xenyx 302USB, Intopic Jazz-UB700 and 2053a5a1b3Sopenharmony_ci; some unbranded "usb mini microphone". 2153a5a1b3Sopenharmony_ci; 2253a5a1b3Sopenharmony_ci; Behringer UMC22 has stereo input (representing two physical mono inputs), 2353a5a1b3Sopenharmony_ci; others have mono input. 2453a5a1b3Sopenharmony_ci; 2553a5a1b3Sopenharmony_ci; Some devices have a mic input path, but at least Behringer Xenyx 302USB 2653a5a1b3Sopenharmony_ci; doesn't have any input mixer controls. 2753a5a1b3Sopenharmony_ci; 2853a5a1b3Sopenharmony_ci; Since the UMC22 card has only stereo input PCM device but is commonly used 2953a5a1b3Sopenharmony_ci; with mono mics, we define special mono mappings using "mono,aux1" and 3053a5a1b3Sopenharmony_ci; "aux1,mono" channel maps. If we had only had the standard stereo input 3153a5a1b3Sopenharmony_ci; mapping, the user would have to record stereo tracks with one channel silent, 3253a5a1b3Sopenharmony_ci; which would be inconvenient. 3353a5a1b3Sopenharmony_ci; 3453a5a1b3Sopenharmony_ci; This config also removes default digital input/output mappings that do 3553a5a1b3Sopenharmony_ci; not physically exist on cards that we've seen so far. 3653a5a1b3Sopenharmony_ci; 3753a5a1b3Sopenharmony_ci; Originally added by Nazar Mokrynskyi <nazar@mokrynskyi.com> for Behringer 3853a5a1b3Sopenharmony_ci; UMC22. 3953a5a1b3Sopenharmony_ci 4053a5a1b3Sopenharmony_ci[General] 4153a5a1b3Sopenharmony_ciauto-profiles = yes 4253a5a1b3Sopenharmony_ci 4353a5a1b3Sopenharmony_ci[Mapping analog-stereo-input] 4453a5a1b3Sopenharmony_cidevice-strings = hw:%f 4553a5a1b3Sopenharmony_cichannel-map = left,right 4653a5a1b3Sopenharmony_cipaths-input = analog-input-mic analog-input 4753a5a1b3Sopenharmony_cidirection = input 4853a5a1b3Sopenharmony_cipriority = 4 4953a5a1b3Sopenharmony_ci 5053a5a1b3Sopenharmony_ci[Mapping analog-mono] 5153a5a1b3Sopenharmony_cidevice-strings = hw:%f 5253a5a1b3Sopenharmony_cichannel-map = mono 5353a5a1b3Sopenharmony_cipaths-input = analog-input-mic analog-input 5453a5a1b3Sopenharmony_cidirection = input 5553a5a1b3Sopenharmony_cipriority = 3 5653a5a1b3Sopenharmony_ci 5753a5a1b3Sopenharmony_ci[Mapping analog-mono-left] 5853a5a1b3Sopenharmony_cidevice-strings = hw:%f 5953a5a1b3Sopenharmony_cichannel-map = mono,aux1 6053a5a1b3Sopenharmony_cipaths-input = analog-input-mic analog-input 6153a5a1b3Sopenharmony_cidirection = input 6253a5a1b3Sopenharmony_cipriority = 2 6353a5a1b3Sopenharmony_ci 6453a5a1b3Sopenharmony_ci[Mapping analog-mono-right] 6553a5a1b3Sopenharmony_cidevice-strings = hw:%f 6653a5a1b3Sopenharmony_cichannel-map = aux1,mono 6753a5a1b3Sopenharmony_cipaths-input = analog-input-mic analog-input 6853a5a1b3Sopenharmony_cidirection = input 6953a5a1b3Sopenharmony_cipriority = 1 7053a5a1b3Sopenharmony_ci 7153a5a1b3Sopenharmony_ci[Mapping analog-stereo-output] 7253a5a1b3Sopenharmony_cidevice-strings = front:%f 7353a5a1b3Sopenharmony_cichannel-map = left,right 7453a5a1b3Sopenharmony_cipaths-output = analog-output 7553a5a1b3Sopenharmony_cidirection = output 76