muroar_close(3)

muroar_close3

Disconnect stream from roaraudio sound server

Usage

#include <muroar.h>

int muroar_close(muroar_t fh);

Overview

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).

Return value

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

Releases

6 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–11

History

This function first appeared in muRoar version 0.1beta0.

From libmuroar-dev 0.1.13-7 in Debian 11 (Bullseye). Parsed by carta from the page's man source.