roar_server_oinfo(3)

roar_server_oinfo3

Gets information on the output stream of roaraudio's sound server

Usage

#include <roaraudio.h>

int roar_server_oinfo(struct roar_connection * con, struct roar_stream * s); int roar_server_oinfo2(struct roar_connection * con, struct roar_stream * s, int dir);

Overview

Gets information about the default mixer stream for the given stream direction. This can be used to get optimal parameters for all operations so the server don't need to resample.

roar_server_oinfo() is marked as obsolete and will be removed soon.

Parameters

con

The connection to the server.

s

A stream object to be filled with information on the output stream.

dir

The stream direction to query mixer data for.

Return value

On success these calls return 0. On error, -1 is returned.

Examples

FIXME

Releases

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

  1. 6.0
  2. 7–11

From libroar-dev 1.0~beta12-4 in Debian 11 (Bullseye). Parsed by carta from the page's man source.