From 848e967b25b1e9baedc07d7bb5cf74b3b024b14b Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 1 Sep 2015 17:13:06 +0000
Subject: LinHES-config: soundconfig.sh: add plug for dmix in mplayer

---
 abs/core/LinHES-config/PKGBUILD       | 4 ++--
 abs/core/LinHES-config/soundconfig.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 779da09..fb88b0a 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.3
-pkgrel=19
+pkgrel=20
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -151,7 +151,7 @@ md5sums=('17d9dd5a097fbbd4dae75dff8e2677ff'
          '6e5639fff82fa2ba76113ac1ab8f2016'
          'f0376c98a7986897406d393186c0365e'
          '157e73d0f90d7b306aba8f5921aeedd3'
-         '6d3340c86c5d0e3f96ea8fa26bb73fb5'
+         'db9b625332493d5a7d12f3fa3ffae0ff'
          'eef9b882ecb70648a8f253f85b73a274'
          '5f890ea9bda6aef652d2560ca19dac07'
          'ab2aa42c2947148c2b1cac0ade6d1d55'
diff --git a/abs/core/LinHES-config/soundconfig.sh b/abs/core/LinHES-config/soundconfig.sh
index a6939a2..2f30306 100755
--- a/abs/core/LinHES-config/soundconfig.sh
+++ b/abs/core/LinHES-config/soundconfig.sh
@@ -89,7 +89,7 @@ function SYNCMPLAYER {
     then
         if [ "$mixAUDIODEVICE" ]
         then
-            MPLAYERDEVICE="dmixer"
+            MPLAYERDEVICE="plug=dmixer"
         else
             MPLAYERDEVICE=`echo $AUDIODEVICE | tr : = | tr , .`
         fi
@@ -150,7 +150,7 @@ function write_asound {
 
 pcm.!default {
   type plug
-  slave.pcm dmixer
+  slave.pcm "dmixer"
 }' > /etc/asound.conf
     else
     	echo 'pcm.!default "'"$AUDIODEVICE"'"' > /etc/asound.conf
-- 
cgit v0.12

