.\" roar_simple_play.3: .TH "roar_server_oinfo2" "3" "May 2011" "RoarAudio" "System Manager's Manual: RoarAudio" .SH NAME roar_server_oinfo, roar_server_oinfo2 \- Gets information on the output stream of RoarAudio's sound server .SH SYNOPSIS #include 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); .SH "DESCRIPTION" Gets information about the default mixer stream for the given stream direction. This can be used to get optimal parameters for all operations so the server don't need to resample. roar_server_oinfo() is marked as obsolete and will be removed soon. .SH "PARAMETERS" .TP \fBcon\fR The connection to the server. .TP \fBs\fR A stream object to be filled with information on the output stream. .TP \fBdir\fR The stream direction to query mixer data for. .SH "RETURN VALUE" On success these calls return 0. On error, \-1 is returned. .SH "EXAMPLES" FIXME .SH "SEE ALSO" \fBlibroar\fR(7), \fBRoarAudio\fR(7). .\" ll