diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsasound-1.0.10_rc2 | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index 33c6caa7721f..898dc98a2d00 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/alsa-utils # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.121 2005/11/23 19:14:21 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.122 2005/12/15 22:42:46 flameeyes Exp $ + + 15 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> + files/alsasound-1.0.10_rc2: + Added restore function to restore the mixer levels without restarting ALSA + entirely. Thanks to Robin Johnson in bug #115500. 23 Nov 2005; Luis Medinas <metalgod@gentoo.org> alsa-utils-1.0.10.ebuild: Stable on amd64. See bug #111968. diff --git a/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 b/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 index dfe51b71454d..5403489ebe53 100644 --- a/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 +++ b/media-sound/alsa-utils/files/alsasound-1.0.10_rc2 @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-1.0.10_rc2,v 1.1 2005/10/31 18:39:21 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-1.0.10_rc2,v 1.2 2005/12/15 22:42:46 flameeyes Exp $ # # Gentoo users: add this script to 'boot' run level. # ================================================== @@ -50,7 +50,7 @@ asoundcfg=/etc/asound.state aconnect=/usr/bin/aconnect alsascrdir=/etc/alsa.d -opts="${opts} save" +opts="${opts} save restore" depend() { need bootmisc localmount @@ -166,7 +166,11 @@ restore_mixer() { if [[ ${RESTORE_ON_START} == "no" ]] ; then return 0 fi + + restore +} +restore() { ebegin "Restoring Mixer Levels" local val=0 |