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; Path for mixers that have a 'Speaker' control 17; 18; See analog-output.conf.common for an explanation on the directives 19 20[General] 21priority = 100 22description-key = analog-output-speaker 23 24[Properties] 25device.icon_name = audio-speakers 26 27[Jack Headphone] 28state.plugged = no 29state.unplugged = unknown 30 31[Jack Dock Headphone] 32state.plugged = no 33state.unplugged = unknown 34 35[Jack Front Headphone] 36state.plugged = no 37state.unplugged = unknown 38 39[Jack Line Out] 40state.plugged = no 41state.unplugged = unknown 42 43[Jack Line Out Front] 44state.plugged = no 45state.unplugged = unknown 46 47[Jack Front Line Out] 48state.plugged = no 49state.unplugged = unknown 50 51[Jack Rear Line Out] 52state.plugged = no 53state.unplugged = unknown 54 55[Jack Dock Line Out] 56state.plugged = no 57state.unplugged = unknown 58 59[Jack Speaker] 60required-any = any 61 62[Jack Speaker Phantom] 63required-any = any 64state.plugged = unknown 65state.unplugged = unknown 66 67[Jack Speaker Front Phantom] 68required-any = any 69state.plugged = unknown 70state.unplugged = unknown 71 72[Jack Speaker - Output] 73required-any = any 74 75[Element Hardware Master] 76switch = mute 77volume = merge 78override-map.1 = all 79override-map.2 = all-left,all-right 80 81[Element Master] 82switch = mute 83volume = merge 84override-map.1 = all 85override-map.2 = all-left,all-right 86 87[Element Master Mono] 88switch = off 89volume = off 90 91; Make sure the internal speakers are not auto-muted once the system has speakers 92[Element Auto-Mute Mode] 93enumeration = select 94 95[Option Auto-Mute Mode:Disabled] 96name = analog-output-speaker 97 98; This profile path is intended to control the speaker, let's mute headphones 99; else there will be a spike when plugging in headphones 100[Element Headphone] 101switch = off 102volume = off 103 104[Element Headphone,1] 105switch = off 106volume = off 107 108[Element Headphone2] 109switch = off 110volume = off 111 112[Element Headphone+LO] 113switch = off 114volume = off 115 116[Element Speaker+LO] 117required-any = any 118switch = mute 119volume = merge 120override-map.1 = all 121override-map.2 = all-left,all-right 122 123[Element Speaker] 124required-any = any 125switch = mute 126volume = merge 127override-map.1 = all 128override-map.2 = all-left,all-right 129 130[Element Desktop Speaker] 131required-any = any 132switch = mute 133volume = merge 134override-map.1 = all 135override-map.2 = all-left,all-right 136 137[Element Front] 138switch = mute 139volume = merge 140override-map.1 = all-front 141override-map.2 = front-left,front-right 142 143[Element Front Speaker] 144switch = mute 145volume = merge 146override-map.1 = all-front 147override-map.2 = front-left,front-right 148required-any = any 149 150[Element Speaker Front] 151switch = mute 152volume = merge 153override-map.1 = all-front 154override-map.2 = front-left,front-right 155required-any = any 156 157[Element Rear] 158switch = mute 159volume = merge 160override-map.1 = all-rear 161override-map.2 = rear-left,rear-right 162 163[Element Surround] 164switch = mute 165volume = merge 166override-map.1 = all-rear 167override-map.2 = rear-left,rear-right 168 169[Element Surround Speaker] 170switch = mute 171volume = merge 172override-map.1 = all-rear 173override-map.2 = rear-left,rear-right 174required-any = any 175 176[Element Speaker Surround] 177switch = mute 178volume = merge 179override-map.1 = all-rear 180override-map.2 = rear-left,rear-right 181required-any = any 182 183[Element Side] 184switch = mute 185volume = merge 186override-map.1 = all-side 187override-map.2 = side-left,side-right 188 189[Element Speaker Side] 190switch = mute 191volume = merge 192override-map.1 = all-side 193override-map.2 = side-left,side-right 194 195[Element Center] 196switch = mute 197volume = merge 198override-map.1 = all-center 199override-map.2 = all-center,all-center 200 201[Element Center Speaker] 202switch = mute 203volume = merge 204override-map.1 = all-center 205override-map.2 = all-center,all-center 206required-any = any 207 208[Element LFE] 209switch = mute 210volume = merge 211override-map.1 = lfe 212override-map.2 = lfe,lfe 213 214[Element LFE Speaker] 215switch = mute 216volume = merge 217override-map.1 = lfe 218override-map.2 = lfe,lfe 219required-any = any 220 221[Element Bass Speaker] 222switch = mute 223volume = merge 224override-map.1 = lfe 225override-map.2 = lfe,lfe 226required-any = any 227 228[Element CLFE] 229switch = mute 230volume = merge 231override-map.1 = all-center 232override-map.2 = all-center,lfe 233 234[Element Center/LFE] 235switch = mute 236volume = merge 237override-map.1 = all-center 238override-map.2 = all-center,lfe 239 240[Element Speaker CLFE] 241switch = mute 242volume = merge 243override-map.1 = all-center 244override-map.2 = all-center,lfe 245 246.include analog-output.conf.common 247