source: roaraudio/doc/man3/roar_get_vol.3 @ 5878:3b92b0d6ef9b

Last change on this file since 5878:3b92b0d6ef9b was 5032:b2c8bbc7907f, checked in by phi, 13 years ago

some manpage correction

File size: 1.3 KB
Line 
1.\" roar_simple_play.3:
2
3.TH "roar_get_vol" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio"
4
5.SH NAME
6roar_get_vol, roar_set_vol, roar_set_vol2 \- Set mixer levels or RoarAudio streams
7
8.SH SYNOPSIS
9
10#include <roaraudio.h>
11
12int roar_set_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int   channels);
13
14int roar_set_vol2     (struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int   channels, int mode);
15
16int roar_get_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int * channels);
17
18.SH "DESCRIPTION"
19This call gets or sets the mixing levels for a stream.
20
21roar_set_vol() is marked obsolete and will be removed soon, use roar_set_vol2().
22
23.SH "PARAMETERS"
24.TP
25\fBcon\fR
26The connection to the roar audio server.
27
28.TP
29\fBid\fR
30The ID of the stream to change.
31
32.TP
33\fBmixer\fR
34The mixer state for the stream.
35
36.TP
37\fBchannels\fR
38The number of channels to set mixer data for or the number of channels mixer data is returned.
39
40.TP
41\fBmode\fR
42The mode of operating. Currently the following modes are supported:
43ROAR_SET_VOL_ALL, ROAR_SET_VOL_MS, ROAR_SET_VOL_UNMAPPED.
44
45.SH "RETURN VALUE"
46On success these calls return 0.  On error, \-1 is returned.
47
48.SH "EXAMPLES"
49FIXME
50
51.SH "SEE ALSO"
52\fBlibroar\fR(7),
53\fBRoarAudio\fR(7).
54
55.\" ll
Note: See TracBrowser for help on using the repository browser.