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

muroar_beep - Send notify beep to RoarAudio sound daemon

Bugs

       This  commands  requests  the  server for a default beep. No other kind of beep can be send.  There is in
       addition no way to tell the actual length of the beep.  The application should at least wait a  bit  more
       than 512ms before closing the socket.  In case possible it is good to wait a minimum of about one secound
       to be really sure the beep ended.

Description

       This  function sends a notify beep to the sound daemon fh is connected to.  fh need to be connected using
       muroar_connect(3) to a sound server supporting the RoarAudio protocol and the BEEP command.

History

       This function first appeared in muRoar version 0.1rc2.

Name

       muroar_beep - Send notify beep to RoarAudio sound daemon

Notes

       The beep is canceld at the server side as soon as the connection is closed. This means  that  you  should
       not close the connection before the beep is played completely.

Return Value

       On success this call return 0. On error, -1 is returned.

See Also

muroar_connect(3), muroar_quit(3), RoarAudio(7).

muRoar                                             April 2012                                     muroar_beep(3)

Synopsis

       #include <muroar.h>

       int muroar_beep   (muroar_t fh);

See Also