forked from pool/alsa-utils
Takashi Iwai
141a404e6c
- Backport alsa-utils fixes from upstream: 0001-alsamixer-fix-display-of-active-inactive-controls.patch 0002-alsaloop-libsamplerate-requires-specific-formats-for.patch 0003-alsaloop-another-try-to-force-correct-formats-for-li.patch 0004-alsamixer-fix-build-on-uClibc.patch 0005-alsactl-init-Mute-CD-Playback-volume-by-default.patch 0006-Revert-alsactl-Display-help-for-names-command.patch 0007-alsaucm-Add-list1-command-for-non-tuple-lists.patch 0008-alsaucm-Don-t-double-free-empty-lists.patch 0009-aplay-Add-i-option-for-interactive-mode.patch 0010-aplay-Avoid-recursive-signal-handling.patch 0012-alsaloop-Use-AM_CFLAGS-in-Makefile.am.patch 0013-Updated-COPYING-with-the-recent-FSF-address.patch 0014-alsamixer-Fix-64bit-issues.patch 0015-aplay-Add-include-files-for-mkdir.patch 0016-aplay-Use-standard-endian-convesions.patch OBS-URL: https://build.opensuse.org/request/show/72632 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=33
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
From 70451054e08e51f7eaebf9e7d72324acdac01cdb Mon Sep 17 00:00:00 2001
|
|
From: David Henningsson <david.henningsson@canonical.com>
|
|
Date: Mon, 4 Apr 2011 11:28:47 +0200
|
|
Subject: [PATCH 05/16] alsactl init: Mute CD Playback volume by default
|
|
|
|
The CD analog playback line is seldom used these days, as all
|
|
modern players rip the CD and use the DAC on the sound card.
|
|
In addition, it causes background hum on some machines.
|
|
Therefore keep it muted by default.
|
|
|
|
BugLink: http://bugs.launchpad.net/bugs/747184
|
|
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
alsactl/init/default | 13 +++----------
|
|
1 files changed, 3 insertions(+), 10 deletions(-)
|
|
|
|
diff --git a/alsactl/init/default b/alsactl/init/default
|
|
index 7f8ec4c..b7cb941 100644
|
|
--- a/alsactl/init/default
|
|
+++ b/alsactl/init/default
|
|
@@ -144,17 +144,10 @@ CTL{name}="Music Playback Switch",CTL{do_search}=="1", \
|
|
CTL{values}="on"
|
|
|
|
CTL{reset}="mixer"
|
|
-CTL{name}="CD Playback Volume",PROGRAM!="__ctl_search", GOTO=""
|
|
-# if master volume control is present, turn CD volume to max
|
|
-ENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
|
|
-ENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
|
|
-# exception - some HDA codecs have shifted dB range
|
|
-CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{write}=="0dB",GOTO=""
|
|
-CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{write}=="0dB",GOTO=""
|
|
-CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
|
|
-LABEL=""
|
|
+CTL{name}="CD Playback Volume",CTL{do_search}=="1", \
|
|
+ CTL{values}="0%"
|
|
CTL{name}="CD Playback Switch",CTL{do_search}=="1", \
|
|
- CTL{values}="on"
|
|
+ CTL{values}="off"
|
|
|
|
CTL{reset}="mixer"
|
|
CTL{name}="Mono Playback Volume",CTL{do_search}=="1", \
|
|
--
|
|
1.7.5.3
|
|
|