| 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 |
; For some ASUS netbooks that have one jack that can be either a Headphone |
| 17 |
; *or* a mic. This path will be active only when it is used as a mic. |
| 18 |
; |
| 19 |
; See analog-output.conf.common for an explanation on the directives |
| 20 |
|
| 21 |
[General] |
| 22 |
priority = 87 |
| 23 |
description-key = analog-input-microphone |
| 24 |
|
| 25 |
[Jack Headphone Mic] |
| 26 |
required-any = any |
| 27 |
state.plugged = unknown |
| 28 |
|
| 29 |
[Element Capture] |
| 30 |
switch = mute |
| 31 |
volume = merge |
| 32 |
override-map.1 = all |
| 33 |
override-map.2 = all-left,all-right |
| 34 |
|
| 35 |
[Element Headphone Mic Boost] |
| 36 |
required-any = any |
| 37 |
switch = select |
| 38 |
volume = merge |
| 39 |
override-map.1 = all |
| 40 |
override-map.2 = all-left,all-right |
| 41 |
|
| 42 |
[Element Headphone Mic] |
| 43 |
required-any = any |
| 44 |
switch = mute |
| 45 |
volume = merge |
| 46 |
override-map.1 = all |
| 47 |
override-map.2 = all-left,all-right |
| 48 |
|
| 49 |
[Element Input Source] |
| 50 |
enumeration = select |
| 51 |
|
| 52 |
[Option Input Source:Headphone Mic] |
| 53 |
name = analog-input-microphone |
| 54 |
required-any = any |
| 55 |
|
| 56 |
[Element Capture Source] |
| 57 |
enumeration = select |
| 58 |
|
| 59 |
[Option Capture Source:Headphone Mic] |
| 60 |
name = analog-input-microphone |
| 61 |
required-any = any |
| 62 |
|
| 63 |
; Make sure the internal speakers are not auto-muted when you plug a mic in |
| 64 |
[Element Auto-Mute Mode] |
| 65 |
enumeration = select |
| 66 |
|
| 67 |
[Option Auto-Mute Mode:Disabled] |
| 68 |
name = analog-input-microphone |
| 69 |
|
| 70 |
[Element Front Mic] |
| 71 |
switch = off |
| 72 |
volume = off |
| 73 |
|
| 74 |
[Element Internal Mic] |
| 75 |
switch = off |
| 76 |
volume = off |
| 77 |
|
| 78 |
[Element Rear Mic] |
| 79 |
switch = off |
| 80 |
volume = off |
| 81 |
|
| 82 |
[Element Dock Mic] |
| 83 |
switch = off |
| 84 |
volume = off |
| 85 |
|
| 86 |
[Element Dock Mic Boost] |
| 87 |
switch = off |
| 88 |
volume = off |
| 89 |
|
| 90 |
[Element Internal Mic Boost] |
| 91 |
switch = off |
| 92 |
volume = off |
| 93 |
|
| 94 |
[Element Front Mic Boost] |
| 95 |
switch = off |
| 96 |
volume = off |
| 97 |
|
| 98 |
[Element Rear Mic Boost] |
| 99 |
switch = off |
| 100 |
volume = off |
| 101 |
|
| 102 |
.include analog-input-mic.conf.common |