AuSetCloseDownMode(3)
π Name π
AuSetCloseDownMode β bestie, this one changes the close down mode of a client β¨
πΈ Synopsis πΈ
#include <audio/audiolib.h>
void AuSetCloseDownMode(server, mode, status)
AuServer *server;
int mode;
AuStatus *status; /* RETURN */
π Arguments π
serverβ the connection to the audio server. like, which server are we talking to, yk? π«Άmodeβ the client close-down mode, and no cap, it has to be one of these three constants and nothing else:AuCloseDownDestroy,AuCloseDownRetainPermanent, orAuCloseDownRetainTemporary. pick your fighter πstatusβ if it's non-NULL, it flushes the output buffer and hands you back the status from the server. if it'sNULL, it justβ¦ doesn't. no thoughts, head empty π
β¨ Description β¨
okay so AuSetCloseDownMode sets the close-down-mode for client to mode. simple as that, periodt.
and the close-down-mode is lowkey the main character here, because it decides what happens to the resources that client created when either:
- the connection gets closed, or
- client gets killed via
AuKillClient
so yeah. it's giving "what's my legacy when i'm gone" energy π choose wisely bestie.
π Errors π
AuBadValue.
that's it. that's the list. it's not happy with your value, it says so, moving on π
π See Also π
AuCloseServerAuGetCloseDownModeaudiolibβ Network Audio System C Language Interface
mwah π that's the whole page. this icon was brought to you by audiolib β client connections, version 1.9.4. go forth and set your close-down modes, you gorgeous thing π¦β¨
π¦ 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