DOKK / manpages / debian 11 / libroar-dev / roar_stream_new.3.en
roar_stream_new(3) System Manager's Manual: RoarAudio roar_stream_new(3)

roar_stream_new - creates a new stream object

#include <roaraudio.h>

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

This call create a new stream object.

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

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

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

FIXME

roar_simple_play(3), libroar(7), RoarAudio(7).

May 2011 RoarAudio