1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/scream/scream-alsa.initd
Patrick Gaskin bd7c1b597c testing/scream: new aport
http://github.com/duncanthrax/scream
client for scream virtual network sound card for Microsoft Windows
2019-12-19 20:05:17 +01:00

21 lines
459 B
Text
Executable file

#!/sbin/openrc-run
command="/usr/bin/scream-alsa"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
command_args="-p ${SCREAM_PORT} -t ${SCREAM_LATENCY} -o ${SCREAM_DEVICE}"
if [ "${SCREAM_MULTICAST}" = "yes" ]; then
command_args="${command_args} -g ${SCREAM_MULTICAST_GROUP}"
else
command_args="${command_args} -u"
fi
if [ ! -z "${SCREAM_INTERFACE}" ]; then
command_args="${command_args} -i ${SCREAM_INTERFACE}"
fi
depend() {
need net alsa
}