roar_get_vol(3)
NAME
roar_get_vol, roar_set_vol - Set mixer levels or RoarAudio streams
SYNOPSIS
#include <roaraudio.h> int roar_set_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int channels); int roar_get_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int * channels);
DESCRIPTION
This call gets or sets the mixing levels for a stream.
NOTE: This call is not marked as forzen, it's interface may change in
newer versions!
PARAMETERS
con The connection to the roar audio server.
- id The ID of the stream to change.
- NOTE: the type of this argument may change in newer versions of the lib!
- mixer FIXME
- channels
- FIXME
RETURN VALUE
On success these calls return 0. On error, -1 is returned.
EXAMPLES
FIXME