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_simple_close - close a simple RoarAudio connection

Description

       Closes  a  filehandle  opened  via  roar_simple_play(3),  roar_simple_monitor(3),  roar_simple_record(3),
       roar_simple_filter(3) or roar_simple_new_stream(3).

       This function was removed in version 1.0beta0-pr0. Use roar_vs_close(3).

Examples

       Examples of these calls are the tools roarcat(1), roarmon(1), roarrec(1) and roarfilt(1).  Just  look  at
       there code. They aren't that complex.

Name

       roar_simple_close - close a simple RoarAudio connection

Parameters

fh     The filehandle to be closed.

Return Value

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

See Also

roar_vs_close(3),        roar_simple_play(3),        roar_simple_monitor(3),       roar_simple_record(3),
       roar_simple_filter(3), roar_simple_new_stream(3), libroar(7), RoarAudio(7).

RoarAudio                                           July 2012                               roar_simple_close(3)

Synopsis

       #include <roaraudio.h>

       int roar_simple_close(int fh);

See Also