source: roaraudio/doc/man3/roar_stream_exec.3 @ 5050:ac5ec473f00c

Last change on this file since 5050:ac5ec473f00c was 5032:b2c8bbc7907f, checked in by phi, 13 years ago

some manpage correction

File size: 1.0 KB
RevLine 
[159]1.\" roar_simple_play.3:
2
[5032]3.TH "roar_stream_exec" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio"
[159]4
5.SH NAME
6roar_stream_exec \- Set a stream as master stream of a client
7
8.SH SYNOPSIS
9
10#include <roaraudio.h>
11
12int roar_stream_exec(struct roar_connection * con, struct roar_stream * s);
13
14.SH "DESCRIPTION"
15This sets a stream to be the master stream of a client.
16A master stream is a stream send via the client's controll channel.
17If a master stream is closed the client and all it's streams are closed.
18Setting a master stream can not be undone nor can any controll commands be send
19anymore. This is used mainly for opening a connection for just playback without
20need to change things later like \fBroar_simple_play\fR(3) does it.
21
22.SH "PARAMETERS"
23.TP
24\fBcon\fR
25The connection to the server.
26
27.TP
28\fBs\fR
29The stream to be set as master stream.
30
31.SH "RETURN VALUE"
[4013]32On success these calls return 0.  On error, \-1 is returned.
[159]33
34.SH "EXAMPLES"
35FIXME
36
37.SH "SEE ALSO"
38\fBroar_simple_play\fR(3),
39\fBlibroar\fR(7),
40\fBRoarAudio\fR(7).
41
42.\" ll
Note: See TracBrowser for help on using the repository browser.