diff options
author | James Meyer <james.meyer@operamail.com> | 2009-03-05 22:08:19 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-03-05 22:08:19 (GMT) |
commit | 82a1476578afeebcd97289e68563f392dd902460 (patch) | |
tree | 8aa0213c604e50a0f8ae3e048cbe792b71e60bc1 /abs/core-testing/LinHES-config-svn | |
parent | 1047af530c00e95877ac915dec6dfae7c5a68db2 (diff) | |
download | linhes_pkgbuild-82a1476578afeebcd97289e68563f392dd902460.zip linhes_pkgbuild-82a1476578afeebcd97289e68563f392dd902460.tar.gz linhes_pkgbuild-82a1476578afeebcd97289e68563f392dd902460.tar.bz2 |
Mixer settings for LinHES-config-svn
Diffstat (limited to 'abs/core-testing/LinHES-config-svn')
-rwxr-xr-x | abs/core-testing/LinHES-config-svn/restore_default_settings.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 ;; |