[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microsound] tcpdump to /dev/audio, etc



On Thu, Feb 03, 2005 at 07:34:00AM -0800, Kim Cascone wrote:
> where can someone cat tcpdump to in Darwin? since there is no /dev/dsp
> or /dev/audio in the /dev dir

If you're worried about OpenAudio, portaudio is pretty reliable:
http://www.portaudio.com.

You'll have to hack a small utility that takes (say) standard input,
dump it to a buffer, then play the buffer in a callback function.
Then pipe tcpdump's output to it.

(I'd offer to hack one, but I'm totally swamped at the moment...)

Bill





---------------------------------------------------------------------
To unsubscribe, e-mail: microsound-unsubscribe@xxxxxxxxxxxxx
For additional commands, e-mail: microsound-help@xxxxxxxxxxxxx
website: http://www.microsound.org