source: roaraudio/doc/man3/roar_simple_play.3 @ 152:535bda70cbaf

Last change on this file since 152:535bda70cbaf was 152:535bda70cbaf, checked in by phi, 16 years ago

added manpage for roar_simple_play/monitor/record/filter

File size: 2.0 KB
Line 
1.\" roar_simple_play.3:
2
3.TH "roar_simple_play" "3" "July 2008" "RoarAudio" "System Manager's Manual: RoarAuido"
4
5.SH NAME
6roar_simple_play, roar_simple_monitor, roar_simple_record, roar_simple_filter \- Simple playback, monetoring, recording or filtering via RoarAudio
7
8.SH SYNOPSIS
9
10#include <roaraudio.h>
11
12int roar_simple_play(int rate, int channels, int bits, int codec, char * server, char * name);
13
14int roar_simple_monitor(int rate, int channels, int bits, int codec, char * server, char * name);
15
16int roar_simple_record(int rate, int channels, int bits, int codec, char * server, char * name);
17
18int roar_simple_filter(int rate, int channels, int bits, int codec, char * server, char * name);
19
20.SH "DESCRIPTION"
21Open a connection to the \fBroard\fR(1) and creates a new stream for playback, monetoring, recording or filtering.
22
23.SH "PARAMETERS"
24.TP
25\fBrate\fR
26The sample rate of the stream.
27
28.TP
29\fBchannels\fR
30The nummber of channels in the stream.
31
32.TP
33\fBbits\fR
34The number of bits per sample of the stream.
35Commen values are 8 and 16.
36
37.TP
38\fBcodec\fR
39The Codec of the data you stream to the server.
40This has nothing to do with codec of the file you are playing back or encoding.
41Default (\fBROAR_CODEC_DEFAULT\fR) is \fBROAR_CODEC_PCM_S_BE\fR for signed PCM in big endian.
42
43.TP
44\fBserver\fR
45The name of the server. A value of \fBNULL\fR (common case) is used to try default locations.
46
47.TP
48\fBname\fR
49The name of the process opening this stream to be listend in the servers meta data.
50Should normaly be the name of the player without any path or filename being played.
51If \fBNULL\fR an internal default is used.
52
53.SH "RETURN VALUE"
54On success these calls return a filehandle for the stream.  On error, -1 is returned.
55
56.SH "EXAMPLES"
57Examples of these calls are the tools \fBroarcat\fR(1), \fBroarmon\fR(1), \fBroarrec\fR(1) and \fBroarfilt\fR(1).
58Just look at there code. They aren't that complex.
59
60
61.SH "SEE ALSO"
62\fBroarcat\fR(1), \fBroarmon\fR(1), \fBroarrec\fR(1), \fBroarfilt\fR(1),
63\fBlibroar\fR(7),
64\fBRoarAudio\fR(7).
65
66.\" ll
Note: See TracBrowser for help on using the repository browser.