]> git.parisson.com Git - jackd-init.git/commitdiff
fix init pi
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 23 Oct 2014 18:15:30 +0000 (18:15 +0000)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 23 Oct 2014 18:15:30 +0000 (18:15 +0000)
src/etc/default/jackd
src/etc/init.d/jackd

index 1d05842e9dcea405f9b812f5e07e785ff164504c..b521a2eb4ca58f6bb83fe743111c281666749d14 100644 (file)
@@ -2,8 +2,8 @@
 START_DAEMON=yes
 
 # The jackd process will run under this user
-USER=telecaster
+USER=pi
 
 # Options to pass to jackd
-OPTIONS="-dalsa -r48000 -p1024 -n3 -Chw:3 -Phw:3"
+OPTIONS="-R -P70 -p16 -t2000 -dalsa -dhw:1 -p2048 -n3 -r32000 -s -S"
 
index 97b093ae43bb96066039af0ac35a6c0f75ace12d..13546809d5e557925437ca8a22729d0f4e64582c 100755 (executable)
@@ -74,7 +74,7 @@ echo -n performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_gove
 case "$1" in
        start)  
            log_begin_msg "Starting jackd audio server:" "jackd"
-            rpi-init
+            rpi_init
             echo $DAEMON $OPTIONS ' &' > $JACKDHOME/.jackdinit
             chmod +x $JACKDHOME/.jackdinit
             su -c $JACKDHOME/.jackdinit $USER > ${LOG}