Query: roar_server_oinfo
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
roar_server_oinfo2(3) System Manager's Manual: RoarAudio roar_server_oinfo2(3)NAMEroar_server_oinfo, roar_server_oinfo2 - Gets information on the output stream of RoarAudio's sound serverSYNOPSIS#include <roaraudio.h> int roar_server_oinfo(struct roar_connection * con, struct roar_stream * s); int roar_server_oinfo2(struct roar_connection * con, struct roar_stream * s, int dir);DESCRIPTIONGets information about the default mixer stream for the given stream direction. This can be used to get optimal parameters for all opera- tions so the server don't need to resample. roar_server_oinfo() is marked as obsolete and will be removed soon.PARAMETERScon The connection to the server. s A stream object to be filled with information on the output stream. dir The stream direction to query mixer data for.RETURN VALUEOn success these calls return 0. On error, -1 is returned.EXAMPLESFIXMESEE ALSOlibroar(7), RoarAudio(7). RoarAudio May 2011 roar_server_oinfo2(3)