On Mon, Aug 26, 2013 at 11:47:03AM +0800, Fung wrote:
> have read
> http://www.openbsd.org/faq/faq13.html#audioserver
> 
> now
> two OpenBSD pc A & B
> A add  sndiod_flags="-L-"  to /etc/rc.conf.local, plug in a microphone.
> 
> so B how to set and use the remote mic?

on host B, any program using "snd@hosta/0" as audio device will
record sound from the microphone of A rather than the local
microphone ("hosta" is hostname or address of A). Example, on B:

        aucat -f snd@hosta/0 -o /tmp/foo.wav

would record from the microphone of host A into /tmp/foo.wav

> what i want: 
> 1. B can hear the sound from A's mic (live broadcast).
> 2. What program in B should I use?

you need a program that records and then plays what it recorded,
the following could somewhat work:

aucat -f snd@hosta/0 -o - | aucat -i -

does it? The sound may skip periodically because A's sampling rate
is not strictly the same as B's sampling rate.

-- Alexandre

Reply via email to