muroar_quit

Langue: en

Version: March 2010 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

muroar_quit - Disconnect from RoarAudio sound server

SYNOPSIS

#include <muroar.h>

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