[arch-commits] Commit in jack/trunk (jack.conf.d jack.rc.d)
Daniel Griffiths
dgriffiths at archlinux.org
Sat Mar 6 21:51:45 UTC 2010
Date: Saturday, March 6, 2010 @ 16:51:45
Author: dgriffiths
Revision: 71375
Deleted:
jack/trunk/jack.conf.d
jack/trunk/jack.rc.d
-------------+
jack.conf.d | 42 ------------------------------------------
jack.rc.d | 39 ---------------------------------------
2 files changed, 81 deletions(-)
Deleted: jack.conf.d
===================================================================
--- jack.conf.d 2010-03-06 21:34:05 UTC (rev 71374)
+++ jack.conf.d 2010-03-06 21:51:45 UTC (rev 71375)
@@ -1,42 +0,0 @@
-# Jack Audio Connection Kit options
-
-
-################################################ general server options
-# output form `jackd --help`
-# extend the switches in the OPTIONS variable
-# usage: jackd [ --realtime OR -R [ --realtime-priority OR -P priority ] ]
-# [ --no-mlock OR -m ]
-# [ --timeout OR -t client-timeout-in-msecs ]
-# [ --port-max OR -p maximum-number-of-ports]
-# [ --verbose OR -v ]
-# [ --silent OR -s ]
-# [ --version OR -V ]
-# -d driver [ ... driver args ... ]
-# driver can be `alsa', `dummy', `oss' or `portaudio'
-
-SERVER_PARAMS="-s -d alsa"
-
-
-################################################# options passed to the driver
-# currently only options for alsa are available
-
-
-# Parameters for driver 'alsa' (all parameters are optional):
-# -C, --capture Provide only capture ports. Optionally set device (default: none)
-# -P, --playback Provide only playback ports. Optionally set device (default: none)
-# -d, --device ALSA device name (default: hw:0)
-# -r, --rate Sample rate (default: 48000)
-# -p, --period Frames per period (default: 1024)
-# -n, --nperiods Number of periods in hardware buffer (default: 2)
-# -H, --hwmon Hardware monitoring, if available (default: false)
-# -M, --hwmeter Hardware metering, if available (default: false)
-# -D, --duplex Provide both capture and playback ports (default: true)
-# -s, --softmode Soft-mode, no xrun handling (default: false)
-# -m, --monitor Provide monitor ports for the output (default: false)
-# -z, --dither Dithering mode (default: n)
-# -i, --inchannels Number of capture channels (defaults to hardware max) (default: 0)
-# -o, --outchannels Number of playback channels (defaults to hardware max) (default: 0)
-# -S, --shorts Try 16-bit samples before 32-bit (default: false)
-
-DRIVER_PARAMS="-d hw:0 -p 1024"
-
Deleted: jack.rc.d
===================================================================
--- jack.rc.d 2010-03-06 21:34:05 UTC (rev 71374)
+++ jack.rc.d 2010-03-06 21:51:45 UTC (rev 71375)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/jack ] && . /etc/conf.d/jack
-
-PID=`pidof -o %PPID /usr/bin/jackd`
-
-case "$1" in
- start)
- stat_busy "Starting JACK Daemon"
- [ -z "$PID" ] && /usr/bin/jackd $SERVER_PARAMS -d $DRIVER_PARAMS &> /dev/null &
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon jack
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping JACK Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon jack
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
More information about the arch-commits
mailing list