Matthew Rubenstein email@mattruby.com wrote:
But every 10-30 minutes or so, I get a net/Inet hiccup that interrupts the stream connection. wget hangs, and no data gets to madplay.
Is it really wget causing the trouble ?? Sounds more like a problem with the ethernet driver... ?? What's the chipset ??
I just want any technique that keeps my wget | madplay pipeline restarted all the time, with a minimum of restarts, which make an audible "clunk". Short of recoding (and cross-compiling) libmad with extra status hooks, is there any way to keep this little engine churning?
If madplay is the only thing writing to /dev/dsp, you could detect hangups by polling `grep $AUDIO_DEVICE /proc/interrupts`
Andre --