#include /* The "--playback" switch disables capture, which may cause prob- */ /* lems. However, without this switch, "jackd" may abort with the */ /* following error message: */ /* jackd watchdog: timeout - killing jackd */ main() { system ("killall -1 jackd 2> /dev/null"); sleep (1); system ("aoss highpriority /distro/bin/jackd \ --timeout 1000 \ -d alsa -d pcm.generic \ -p2048 -n3 --playback --softmode -z >& /var/log/jackd &"); sleep (1); }