\fBName\fP

AuSync - flush the output buffer and wait for all events and errors to be processed by the server

\fBSynopsis\fP

#include <audio/audiolib.h>

void AuSync(server, discard)

    AuServer *server;
    AuBool discard;

\fBArguments\fP

server

Specifies the connection to the audio server.

discard

Specifies if events in the input queue are discarded.

\fBDescription\fP

AySync flushes the output buffer, then waits until all pending requests have been received and processed by the server. If discard is AuTrue, all events on the input queue are discarded.

\fBSee Also\fP

AuFlush.

audiolib - Network Audio System C Language Interface