Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > f973a41ff736d1938965b772739683f1 > files > 5

gnomeradio-1.8-6.fc13.src.rpm

#!/bin/sh
# Route the capture sources on the sound card back in as PCM audio

PROG=/usr/bin/gnomeradio

sox -c 2 -s -r 44100 -t ossdsp /dev/audio -t ossdsp -r 44100 /dev/dsp &
# a bit noisy for my taste
#sox -c 2 -s -r 44100 -t alsa hw:0,0 -t alsa -r 44100 &

# if someone wants to start always with the same volume
# amixer -c 0 sset Master 80%,80% unmute

$PROG
wait $PROG
t=`pidof sox`;
kill $t;