muroar_quit(3) 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.