|
|
|
|
@ -121,7 +121,7 @@ int ast_filecopy(char *oldname, char *newname, char *fmt);
|
|
|
|
|
* Wait for a stream to stop or for any one of a given digit to arrive, Returns 0
|
|
|
|
|
* if the stream finishes, the character if it was interrupted, and -1 on error
|
|
|
|
|
*/
|
|
|
|
|
char ast_waitstream(struct ast_channel *c, char *breakon);
|
|
|
|
|
int ast_waitstream(struct ast_channel *c, char *breakon);
|
|
|
|
|
|
|
|
|
|
//! Same as waitstream but allows stream to be forwarded or rewound
|
|
|
|
|
/*!
|
|
|
|
|
@ -134,11 +134,11 @@ char ast_waitstream(struct ast_channel *c, char *breakon);
|
|
|
|
|
* Wait for a stream to stop or for any one of a given digit to arrive, Returns 0
|
|
|
|
|
* if the stream finishes, the character if it was interrupted, and -1 on error
|
|
|
|
|
*/
|
|
|
|
|
char ast_waitstream_fr(struct ast_channel *c, char *breakon, char *forward, char *rewind, int ms);
|
|
|
|
|
int ast_waitstream_fr(struct ast_channel *c, char *breakon, char *forward, char *rewind, int ms);
|
|
|
|
|
|
|
|
|
|
/* Same as waitstream, but with audio output to fd and monitored fd checking. Returns
|
|
|
|
|
1 if monfd is ready for reading */
|
|
|
|
|
char ast_waitstream_full(struct ast_channel *c, char *breakon, int audiofd, int monfd);
|
|
|
|
|
int ast_waitstream_full(struct ast_channel *c, char *breakon, int audiofd, int monfd);
|
|
|
|
|
|
|
|
|
|
//! Starts reading from a file
|
|
|
|
|
/*!
|
|
|
|
|
|