Query: roar_vs_close
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
roar_vs_close(3) RoarAudio Programmer's Manual roar_vs_close(3)NAMEroar_vs_close - Closes a VS objectSYNOPSIS#include <roaraudio.h> int roar_vs_close(roar_vs_t * vss, int killit, int * error);DESCRIPTIONThis function closes a open VS object. The object can be closed and pending data (mainly network and server side buffers) is played or killed so no pending data is played. The later one is useful in case of handling errors.PARAMETERSvss The VS object to be closed. killit Specifies if the stream should be killed on the server side. Must be ROAR_VS_TRUE or ROAR_VS_FALSE. error This is a pointer to a integer used to store the error value in case of error. This can be NULL if not used but it is very recom- mended to use this error value to report good error messages to the user.RETURN VALUEOn success these calls return 0. On error, -1 is returned.EXAMPLESFIXMESEE ALSOroarvs(7), libroar(7), RoarAudio(7). RoarAudio May 2011 roar_vs_close(3)