roar_stream_new(3)

roar_stream_new3

Creates a new stream object

Usage

#include <roaraudio.h>

int roar_stream_new(struct roar_stream * s, unsigned int rate, unsigned int channels, unsigned int bits, unsigned int codec);

Overview

This call create a new stream object.

Parameters

The parameter s is a pointer to the new stream object.

For a description of the other parameters see roar_simple_play(3).

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.