SF.net SVN: morphix: [2155] trunk/scripts-base/etc/init.d

[email protected]
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2155
Author:   alextreme
Date:     2006-03-23 04:01:05 -0800 (Thu, 23 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2155&view=rev

Log Message:
-----------
  * minor alsa tweaks

Modified Paths:
--------------
    trunk/scripts-base/etc/init.d/alsa-autoconfig
    trunk/scripts-base/etc/init.d/knoppix-autoconfig
Modified: trunk/scripts-base/etc/init.d/alsa-autoconfig
===================================================================
--- trunk/scripts-base/etc/init.d/alsa-autoconfig	2006-03-22 17:50:50 UTC (rev 2154)
+++ trunk/scripts-base/etc/init.d/alsa-autoconfig	2006-03-23 12:01:05 UTC (rev 2155)
@@ -242,12 +242,10 @@
     fi
 
     [ -n "$DEBUG" ] && einfo "Setting default volumes..."
-    if [ -x /usr/bin/set_default_volume ]; then
-	/usr/bin/set_default_volume -f
-    else
-	#set_mixers
-	aumix -m 0 -v 100 -w 100 # set pcm & master to 60, micro to 0
-    fi
+
+#set_mixers
+    aumix -m 0 -v 100 -w 100 # set pcm & master to 60, micro to 0
+
     [ -n "$GAUGE" ] && echo 100
 }
 

Modified: trunk/scripts-base/etc/init.d/knoppix-autoconfig
===================================================================
--- trunk/scripts-base/etc/init.d/knoppix-autoconfig	2006-03-22 17:50:50 UTC (rev 2154)
+++ trunk/scripts-base/etc/init.d/knoppix-autoconfig	2006-03-23 12:01:05 UTC (rev 2155)
@@ -510,7 +510,7 @@
     count=0
 # Setting micro input to zero to avoid subsonic disaster
 # if using alsa, this leads to error-messages
-    [ -z "$NOAUDIO" ] && ( exec aumix -m 0 >/dev/null 2>&1 & )
+    [ -z "$NOAUDIO" ] && ( exec aumix -v 100 -w 100 -m 0 >/dev/null 2>&1 & )
     # Added $DRIVER from /etc/sysconfig/sound
     SOUNDCARD="$SOUND_DRIVER $DRIVER"
     for i in $SOUNDCARD;do


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.