[Asterisk-Dev] Re: what's the difference between ast_waitstream and ast_waitstream_full
Tony Mountifield
tony at softins.clara.co.uk
Wed Aug 4 11:26:02 MST 2004
In article <20040804145139.20792.qmail at web41102.mail.yahoo.com>,
YULONG ZHOU <yulongzhou at yahoo.com> wrote:
>
> I just want to figure out why in the file.c there are
> ast_waitstream and ast_waitstream_full, and also I
> checked the code, so far no place use
> ast_waitstream_full, if no place use it, why the r
> there.
ast_waitstream_full() is used in channel.c, say.c and res_agi.c
ast_waitstream_full() also monitors an extra file descriptor cmdfd,
and can write any incoming stream to another file descriptor audiofd.
ast_waitstream() does neither of these two things.
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-dev
mailing list