roar_vs_read(3) | RoarAudio Programmer's Manual | roar_vs_read(3) |
roar_vs_read, roar_vs_write - Read or write data from or to sound server
#include <roaraudio.h>
ssize_t roar_vs_read (roar_vs_t * vss, void * buf, size_t len, int * error);
ssize_t roar_vs_write(roar_vs_t * vss, const void * buf, size_t len, int * error);
roar_vs_read() reads data from the sound server into buffer buf.
roar_vs_write() writes data in buffer buf to the sound server.
On success these calls return the amount of data read or written. This can be smaller than the requested size. On error, -1 is returned.
FIXME
May 2011 | RoarAudio |