muroar_quit(3)

NAME
muroar_quit - Disconnect from RoarAudio sound server

SYNOPSIS
#include <muroar.h> int muroar_quit (muroar_t fh);

DESCRIPTION
This function disconnects a control connection from the sound server in a clean way. The socket is closed by this function. No additional close(2) is needed. Open data connections (streams) which are created by muroar_stream(3) must not be closed using this function. They must be closed using muroar_close(3).

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

HISTORY
This function first appeared in muRoar version 0.1rc0.

SEE ALSO
muroar_connect(3), muroar_close(3), RoarAudio(7).