logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

roar_get_standby, roar_set_standby - Get and set RoarAudio's sound servers standby state

Description

       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.

Examples

       FIXME

Name

       roar_get_standby, roar_set_standby - Get and set RoarAudio's sound servers standby state

Parameters

con    The connection to the server.

       state  The  new  state.  This  may  be  ROAR_STANDBY_ACTIVE   for   standby   to   be   set   active   or
              ROAR_STANDBY_INACTIVE for 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.

See Also

roar_simple_get_standby(3), libroar(7), RoarAudio(7).

RoarAudio                                           May 2011                                 roar_get_standby(3)

Synopsis

       #include <roaraudio.h>

       int roar_get_standby(struct roar_connection * con);

       int roar_set_standby(struct roar_connection * con, int state);

See Also