roar_get_standby, roar_set_standby
Get and set RoarAudio's sound servers standby state
- Provided by: libroar-dev (Version: 1.0~beta12-4)
- Source: roaraudio
- Report a bug
Get and set RoarAudio's sound servers standby state
#include <roaraudio.h>
int roar_get_standby(struct roar_connection * con);
int roar_set_standby(struct roar_connection * con, int state);
Get or set the standby state of the server. If the server is in standby no audio is played. The audio device may be released depending on configuration.
roar_get_standby returns ROAR_STANDBY_ACTIVE, ROAR_STANDBY_INACTIVE or -1 on error. roar_set_standby returns on success 0. On error, -1 is returned.
FIXME