Line | |
---|
1 | .\" roar_simple_play.3: |
---|
2 | |
---|
3 | .TH "roar_stream_connect" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio" |
---|
4 | |
---|
5 | .SH NAME |
---|
6 | roar_stream_connect \- Connect a stream to RoarAudio's sound server |
---|
7 | |
---|
8 | .SH SYNOPSIS |
---|
9 | |
---|
10 | #include <roaraudio.h> |
---|
11 | |
---|
12 | int roar_stream_connect(struct roar_connection * con, struct roar_stream * s, int dir); |
---|
13 | |
---|
14 | .SH "DESCRIPTION" |
---|
15 | This connects a new stream as created by \fBroar_stream_new\fR(3) to the server. |
---|
16 | |
---|
17 | |
---|
18 | .SH "PARAMETERS" |
---|
19 | .TP |
---|
20 | \fBcon\fR |
---|
21 | The connection to the sound server |
---|
22 | |
---|
23 | .TP |
---|
24 | \fBs\fR |
---|
25 | The stream object to connect. |
---|
26 | |
---|
27 | .TP |
---|
28 | \fBdir\fR |
---|
29 | The direction of the new stream. |
---|
30 | See \fBroar_simple_stream\fR(3) for details. |
---|
31 | |
---|
32 | .SH "RETURN VALUE" |
---|
33 | On success these calls return 0. On error, \-1 is returned. |
---|
34 | |
---|
35 | .SH "EXAMPLES" |
---|
36 | FIXME |
---|
37 | |
---|
38 | .SH "SEE ALSO" |
---|
39 | \fBroar_stream_new\fR(3), |
---|
40 | \fBroar_simple_stream\fR(3), |
---|
41 | \fBlibroar\fR(7), |
---|
42 | \fBRoarAudio\fR(7). |
---|
43 | |
---|
44 | .\" ll |
---|
Note: See
TracBrowser
for help on using the repository browser.