forked from pool/alsa-utils
Takashi Iwai
3331bcfb82
* A few alsactl init fix patches: * amixer control-id parse fix * new aloop utility * robusitfy speaker-test * misc clean up, translation updates - Use systemd for openSUSE 11.4 - Put udev rules into this package instead of alsa.rpm OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=23
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From 52bd2f8acedaacce32ca8e89cb1f21683658648e Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Tue, 7 Sep 2010 17:07:12 +0200
|
|
Subject: [PATCH 14/38] alsactl init: Handle "Capture Source" and "Mic Boost" in the default script
|
|
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
alsactl/init/default | 6 ++++++
|
|
1 files changed, 6 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/alsactl/init/default b/alsactl/init/default
|
|
index 35acfc3..9fd7972 100644
|
|
--- a/alsactl/init/default
|
|
+++ b/alsactl/init/default
|
|
@@ -185,6 +185,11 @@ CTL{name}="Capture Volume",CTL{do_search}=="1", \
|
|
CTL{name}="Capture Switch",CTL{do_search}=="1", \
|
|
CTL{values}="on"
|
|
|
|
+CTL{name}="Capture Source",PROGRAM!="__ctl_search", GOTO=""
|
|
+CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
|
|
+CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
|
+LABEL=""
|
|
+
|
|
CTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO=""
|
|
CTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
|
|
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
|
@@ -195,4 +200,5 @@ CTL{enums}=="*|Digital Mic 1|*",CTL{values}="Digital Mic 1", GOTO=""
|
|
CTL{enums}=="*|Mic|*",CTL{values}="Mic"
|
|
LABEL=""
|
|
|
|
+CTL{name}="Mic Boost",CTL{do_search}=="1", CTL{values}="on"
|
|
CTL{name}="Internal Mic Boost",CTL{do_search}=="1", CTL{values}="on"
|
|
--
|
|
1.7.3.1
|
|
|