roar_get_vol, roar_set_vol, roar_set_vol2
Set mixer levels or RoarAudio streams
- Provided by: libroar-dev (Version: 1.0~beta12-4)
- Source: roaraudio
- Report a bug
Set mixer levels or RoarAudio streams
#include <roaraudio.h>
int roar_set_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int channels);
int roar_set_vol2 (struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int channels, int mode);
int roar_get_vol(struct roar_connection * con, int id, struct roar_mixer_settings * mixer, int * channels);
This call gets or sets the mixing levels for a stream.
roar_set_vol() is marked obsolete and will be removed soon, use roar_set_vol2().
On success these calls return 0. On error, -1 is returned.
FIXME