---
name: "AuSync"
section: "3x"
platform: "linux"
package: "nas"
version: "1.2p5-3"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/AuSync/3x"
---

# AuSync(3x)

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

## Name

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

## Synopsis

\#include \<audio/audiolib.h\>

void **AuSync**(*server*, *discard*)\
\
     **AuServer** \**server*;\
\
     **AuBool** *discard*;

## Arguments

- *server*

  Specifies the connection to the audio server.

- *discard*

  Specifies if events in the input queue are discarded.

## Description

**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.

## See Also

**AuFlush**.

audiolib - **Network Audio System** C Language Interface
