Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 0ce407f088c3c10e424ebdfba50f205f > files > 11

gnomeradio-1.8-6.fc14.x86_64.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;