Close a simple roaraudio connection
#include <roaraudio.h>
int roar_simple_close(int fh);
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).
fh
The filehandle to be closed.
On success these calls return 0. On error, -1 is returned.
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.