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; This profile forces speaker and internal mic ports even if we have no way 17; of identifying those. 18; See default.conf for explanations. 19 20[General] 21auto-profiles = yes 22 23[Mapping analog-mono] 24device-strings = hw:%f 25channel-map = mono 26paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono 27paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line 28priority = 1 29 30[Mapping analog-stereo] 31device-strings = front:%f hw:%f 32channel-map = left,right 33paths-output = analog-output analog-output-lineout analog-output-speaker-always analog-output-headphones analog-output-headphones-2 analog-output-mono 34paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic-always analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line 35priority = 10 36 37[Mapping analog-surround-21] 38device-strings = surround21:%f 39channel-map = front-left,front-right,lfe 40paths-output = analog-output analog-output-lineout analog-output-speaker-always 41priority = 8 42direction = output 43 44[Mapping analog-surround-40] 45device-strings = surround40:%f 46channel-map = front-left,front-right,rear-left,rear-right 47paths-output = analog-output analog-output-lineout analog-output-speaker-always 48priority = 7 49direction = output 50 51[Mapping analog-surround-41] 52device-strings = surround41:%f 53channel-map = front-left,front-right,rear-left,rear-right,lfe 54paths-output = analog-output analog-output-lineout analog-output-speaker-always 55priority = 8 56direction = output 57 58[Mapping analog-surround-50] 59device-strings = surround50:%f 60channel-map = front-left,front-right,rear-left,rear-right,front-center 61paths-output = analog-output analog-output-lineout analog-output-speaker-always 62priority = 7 63direction = output 64 65[Mapping analog-surround-51] 66device-strings = surround51:%f 67channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe 68paths-output = analog-output analog-output-lineout analog-output-speaker-always 69priority = 8 70direction = output 71 72[Mapping analog-surround-71] 73device-strings = surround71:%f 74channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right 75description = Analog Surround 7.1 76paths-output = analog-output analog-output-lineout analog-output-speaker-always 77priority = 7 78direction = output 79 80[Mapping analog-4-channel-input] 81# Alsa doesn't currently provide any better device name than "hw" for 4-channel 82# input. If this causes trouble at some point, then we will need to get a new 83# device name standardized in alsa. 84device-strings = hw:%f 85channel-map = aux0,aux1,aux2,aux3 86priority = 1 87direction = input 88 89[Mapping iec958-stereo] 90device-strings = iec958:%f 91channel-map = left,right 92paths-input = iec958-stereo-input 93paths-output = iec958-stereo-output 94priority = 5 95 96[Mapping iec958-ac3-surround-40] 97device-strings = a52:%f 98channel-map = front-left,front-right,rear-left,rear-right 99paths-output = iec958-stereo-output 100priority = 2 101direction = output 102 103[Mapping iec958-ac3-surround-51] 104device-strings = a52:%f 105channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe 106paths-output = iec958-stereo-output 107priority = 3 108direction = output 109 110[Mapping iec958-dts-surround-51] 111device-strings = dca:%f 112channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe 113paths-output = iec958-stereo-output 114priority = 3 115direction = output 116 117[Mapping hdmi-stereo] 118description = Digital Stereo (HDMI) 119device-strings = hdmi:%f 120paths-output = hdmi-output-0 121channel-map = left,right 122priority = 4 123direction = output 124 125[Mapping hdmi-surround] 126description = Digital Surround 5.1 (HDMI) 127device-strings = hdmi:%f 128paths-output = hdmi-output-0 129channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe 130priority = 3 131direction = output 132 133[Mapping hdmi-surround71] 134description = Digital Surround 7.1 (HDMI) 135device-strings = hdmi:%f 136paths-output = hdmi-output-0 137channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right 138priority = 3 139direction = output 140 141[Mapping hdmi-dts-surround] 142description = Digital Surround 5.1 (HDMI/DTS) 143device-strings = dcahdmi:%f 144paths-output = hdmi-output-0 145channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe 146priority = 1 147direction = output 148 149; An example for defining multiple-sink profiles 150#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo] 151#description = Foobar 152#output-mappings = analog-stereo iec958-stereo 153#input-mappings = analog-stereo 154