Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 29c7d99dc2030d27fffa5d9d5cf3c52e > files > 11

gnomeradio-1.8-22.fc18.i686.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;