roar_set_standby3
Get and set roaraudio's sound servers standby state
Usage
int roar_get_standby(struct
roar_connection
*
con);
Overview
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.
Parameters
con-
The connection to the server.
state-
The new state. This may be
ROAR_STANDBY_ACTIVEfor standby to be set active orROAR_STANDBY_INACTIVEfor normal operating mode.
Return value
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.
Examples
FIXME
History
- Debian 11 (Bullseye) to Debian 7 (Wheezy): the text shown here
- Debian 6.0 (Squeeze)