| 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 devices where a 'Rear Mic' or 'Rear Mic Boost' element exists |
| 17 | ; |
| 18 | ; See analog-output.conf.common for an explanation on the directives |
| 19 | |
| 20 | [General] |
| 21 | priority = 82 |
| 22 | description-key = analog-input-microphone-rear |
| 23 | |
| 24 | [Jack Rear Mic] |
| 25 | required-any = any |
| 26 | |
| 27 | [Jack Rear Mic - Input] |
| 28 | required-any = any |
| 29 | |
| 30 | [Jack Rear Mic Phantom] |
| 31 | required-any = any |
| 32 | state.plugged = unknown |
| 33 | state.unplugged = unknown |
| 34 | |
| 35 | [Element Capture] |
| 36 | switch = mute |
| 37 | volume = merge |
| 38 | override-map.1 = all |
| 39 | override-map.2 = all-left,all-right |
| 40 | |
| 41 | [Element Rear Mic Boost] |
| 42 | required-any = any |
| 43 | switch = select |
| 44 | volume = merge |
| 45 | override-map.1 = all |
| 46 | override-map.2 = all-left,all-right |
| 47 | |
| 48 | [Option Rear Mic Boost:on] |
| 49 | name = input-boost-on |
| 50 | |
| 51 | [Option Rear Mic Boost:off] |
| 52 | name = input-boost-off |
| 53 | |
| 54 | [Element Rear Mic] |
| 55 | required-any = any |
| 56 | switch = mute |
| 57 | volume = merge |
| 58 | override-map.1 = all |
| 59 | override-map.2 = all-left,all-right |
| 60 | |
| 61 | [Element Input Source] |
| 62 | enumeration = select |
| 63 | |
| 64 | [Option Input Source:Rear Mic] |
| 65 | name = analog-input-microphone-rear |
| 66 | required-any = any |
| 67 | |
| 68 | [Element Capture Source] |
| 69 | enumeration = select |
| 70 | |
| 71 | [Option Capture Source:Rear Mic] |
| 72 | name = analog-input-microphone-rear |
| 73 | required-any = any |
| 74 | |
| 75 | [Element Mic] |
| 76 | switch = off |
| 77 | volume = off |
| 78 | |
| 79 | [Element Internal Mic] |
| 80 | switch = off |
| 81 | volume = off |
| 82 | |
| 83 | [Element Front Mic] |
| 84 | switch = off |
| 85 | volume = off |
| 86 | |
| 87 | [Element Dock Mic] |
| 88 | switch = off |
| 89 | volume = off |
| 90 | |
| 91 | [Element Mic Boost] |
| 92 | switch = off |
| 93 | volume = off |
| 94 | |
| 95 | [Element Dock Mic Boost] |
| 96 | switch = off |
| 97 | volume = off |
| 98 | |
| 99 | [Element Internal Mic Boost] |
| 100 | switch = off |
| 101 | volume = off |
| 102 | |
| 103 | [Element Front Mic Boost] |
| 104 | switch = off |
| 105 | volume = off |
| 106 | |
| 107 | .include analog-input-mic.conf.common |