sox -t ossdsp /dev/dsp -t raw -s -w -r 44100 -c 2 -

Ok, this does give me some data. Don't know whether it's correct data, but it isn't empty :-)

But then I get the following message when I try to connec to the tcpserver:

./soundcard.sh: line 2: 17034 Broken pipe
perl -e 'use Socket qw(:crlf); print $CRLF'

The client (winamp) times out. Interestingly I only get this message seconds _after_ winamp has timed out. When I added some debug code (echo "hello world" >&2) at the very beginning of the script this was only displayed after about 30 seconds. Hmm...

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to