logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

roar_stream_new - creates a new stream object

Description

       This call create a new stream object.

Examples

       FIXME

Name

       roar_stream_new - creates 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.

See Also

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

RoarAudio                                           May 2011                                  roar_stream_new(3)

Synopsis

       #include <roaraudio.h>

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

See Also