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
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From ef919a4724169f4c0dc14168dec32c168b2471e4 Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Tue, 7 Sep 2010 17:33:14 +0200
|
|
Subject: [PATCH 15/38] alsactl init: Initialize also "Master Front Playback Volume" & "Switch"
|
|
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
alsactl/init/default | 7 +++++++
|
|
1 files changed, 7 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/alsactl/init/default b/alsactl/init/default
|
|
index 9fd7972..7f8ec4c 100644
|
|
--- a/alsactl/init/default
|
|
+++ b/alsactl/init/default
|
|
@@ -30,6 +30,13 @@ CTL{name}="Master Playback Switch",CTL{do_search}=="1", \
|
|
CTL{values}="on"
|
|
|
|
CTL{reset}="mixer"
|
|
+CTL{name}="Master Front Playback Volume",CTL{do_search}=="1", \
|
|
+ ENV{has_pmaster_vol}:="true", \
|
|
+ CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
|
|
+CTL{name}="Master Front Playback Switch",CTL{do_search}=="1", \
|
|
+ CTL{values}="on"
|
|
+
|
|
+CTL{reset}="mixer"
|
|
CTL{name}="Master Digital Playback Volume",CTL{do_search}=="1", \
|
|
CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
|
|
CTL{name}="Master Digital Playback Switch",CTL{do_search}=="1", \
|
|
--
|
|
1.7.3.1
|
|
|