AuSync(3)
π NAME π
AuSync(3) is here, bestie! It's from the Library Functions Manual, and it's part of audiolib β the Network Audio System C Language Interface vibe. This function does exactly this:
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. Like, the whole link to the audio server. That's the main character connection right there.discardβ Specifies if events in the input queue are discarded. So it's the switch that says whether the events chillin' in the input queue get tossed.
πΈ DESCRIPTION πΈ
Okay so the description says AySync β yes, that's the exact spelling in the original page, no cap β and here's the tea: 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. Periodt. π
Note: thatAySyncspelling is straight from the original description. The function you actually call isAuSync. We keep the facts, we just also keep the typo moment. π«Ά
π SEE ALSO π
AuFlush.audiolibβ Network Audio System C Language Interface
Source: audiolib - output buffer Β· Version: 1.9.4 Β· Date: not in this footer, so we're not making one up, bestie. Stay synced, slay, and flush responsibly. πβ¨
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms