roar_stream_connect3
Connect a stream to roaraudio's sound server
Usage
#include <roaraudio.h>
int roar_stream_connect(struct roar_connection * con, struct roar_stream * s, int dir);
Overview
This connects a new stream as created by roar_stream_new(3) to the server.
Parameters
|
The connection to the sound server |
|---|---|
|
The stream object to connect. |
|
The direction of the new stream. See roar_simple_stream(3) for details. |
Return value
On success these calls return 0. On error, -1 is returned.
Examples
FIXME
Releases
6 releases since Debian 6.0 (Squeeze); the text changed 1 time.