From 82a1476578afeebcd97289e68563f392dd902460 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 5 Mar 2009 16:08:19 -0600
Subject: Mixer settings for LinHES-config-svn

---
 abs/core-testing/LinHES-config-svn/restore_default_settings.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/abs/core-testing/LinHES-config-svn/restore_default_settings.sh b/abs/core-testing/LinHES-config-svn/restore_default_settings.sh
index 30429c6..dcf5e23 100755
--- a/abs/core-testing/LinHES-config-svn/restore_default_settings.sh
+++ b/abs/core-testing/LinHES-config-svn/restore_default_settings.sh
@@ -62,7 +62,11 @@ function ALSADEVICE () {
     if [ x$Audiotype = xALSA ]
     then
         SoundDevice=ALSA:$SoundDevice
+        MixerDevice="ALSA:default"
+    else
+        MixerDevice="/dev/mixer"
     fi
+
 }
 
 
@@ -310,7 +314,9 @@ case $OPERATION in
         MUSICFRONT)
                 ALSADEVICE
                 $MYSQLCMD_C "delete from settings where value='AudioOutputDevice' and hostname=\"$hostname\";"
+                $MYSQLCMD_C "delete from settings where value='MixerDevice' and hostname=\"$hostname\";"
                 $MYSQLCMD_C "REPLACE INTO  settings set data='$SoundDevice',  value='AudioOutputDevice' , hostname=\"$hostname\";"
+                $MYSQLCMD_C "REPLACE INTO  settings set data='$MixerDevice',  value='MixerDevice' , hostname=\"$hostname\";"
                 #need to reload the settings.
                 systemconfig.sh reloadfe
                 ;;
-- 
cgit v0.12

