muroar_close
Disconnect stream from RoarAudio sound server
- Provided by: libmuroar-dev (Version: 0.1.13-7)
- Source: muroar
- Report a bug
Disconnect stream from RoarAudio sound server
#include <muroar.h>
int muroar_close(muroar_t fh);
This function disconnects a data connection (stream) from the sound server in a clean way. The socket is closed by this function. No additional close(2) is needed.
Open control connections which are not created by muroar_stream(3) must not be closed using this function. They must be closed using muroar_quit(3).
On success this call return 0. On error, -1 is returned.
This function first appeared in muRoar version 0.1beta0.
muroar_connect(3), muroar_stream(3), muroar_quit(3), RoarAudio(7).