roar_vs_iterate(3) | RoarAudio Programmer's Manual | roar_vs_iterate(3) |
roar_vs_iterate, roar_vs_run - Iterate streams
#include <roaraudio.h>
int roar_vs_iterate (roar_vs_t * vss, int wait, int * error);
int roar_vs_run (roar_vs_t * vss, int * error);
roar_vs_iterate() sends a block of data from the local buffer to the server or reads data from the server into the local buffer in blocking mode, or pushes or pulls data to or from server in file mode.
roar_vs_run() does the same as roar_vs_iterate() but loops until EOF or error.
On EOF these calls return 0. roar_vs_iterate() returns a positive value on non-EOF success. On error, -1 is returned.
FIXME
June 2011 | RoarAudio |