mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
alsa-mixer: Add new paths for Internal Mic, Front Mic, Rear Mic and Dock Mic
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
ade0a6f884
commit
3618268757
7 changed files with 327 additions and 85 deletions
|
|
@ -14,13 +14,55 @@
|
|||
# along with PulseAudio; if not, write to the Free Software Foundation,
|
||||
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
||||
|
||||
; For devices where a 'Internal Mic' element exists
|
||||
; For devices where a 'Internal Mic' or 'Internal Mic Boost' element exists
|
||||
; 'Int Mic' and 'Int Mic Boost' are for compatibility with kernels < 2.6.38
|
||||
;
|
||||
; See analog-output.conf.common for an explanation on the directives
|
||||
|
||||
[General]
|
||||
priority = 90
|
||||
name = analog-input-microphone
|
||||
priority = 89
|
||||
name = analog-input-microphone-internal
|
||||
|
||||
[Element Internal Mic Boost]
|
||||
required-any = any
|
||||
switch = select
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Option Internal Mic Boost:on]
|
||||
name = input-boost-on
|
||||
|
||||
[Option Internal Mic Boost:off]
|
||||
name = input-boost-off
|
||||
|
||||
[Element Int Mic Boost]
|
||||
required-any = any
|
||||
switch = select
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Option Int Mic Boost:on]
|
||||
name = input-boost-on
|
||||
|
||||
[Option Int Mic Boost:off]
|
||||
name = input-boost-off
|
||||
|
||||
|
||||
[Element Internal Mic]
|
||||
required-any = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Int Mic]
|
||||
required-any = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Capture]
|
||||
switch = mute
|
||||
|
|
@ -28,40 +70,38 @@ volume = merge
|
|||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Input Source]
|
||||
enumeration = select
|
||||
|
||||
[Option Input Source:Internal Mic]
|
||||
name = analog-input-microphone-internal
|
||||
|
||||
[Option Input Source:Int Mic]
|
||||
name = analog-input-microphone-internal
|
||||
|
||||
[Element Capture Source]
|
||||
enumeration = select
|
||||
|
||||
[Option Capture Source:Internal Mic]
|
||||
name = analog-input-microphone-internal
|
||||
|
||||
[Option Capture Source:Int Mic]
|
||||
name = analog-input-microphone-internal
|
||||
|
||||
[Element Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Internal Mic]
|
||||
required = any
|
||||
switch = mute
|
||||
volume = merge
|
||||
override-map.1 = all
|
||||
override-map.2 = all-left,all-right
|
||||
|
||||
[Element Line]
|
||||
[Element Dock Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Aux]
|
||||
[Element Front Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Video]
|
||||
[Element Rear Mic]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element Mic/Line]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element TV Tuner]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
[Element FM]
|
||||
switch = off
|
||||
volume = off
|
||||
|
||||
.include analog-input.conf.common
|
||||
.include analog-input-mic.conf.common
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue