AuSetCloseDownMode(3)
π AuSetCloseDownMode(3) β bestie edition
okay so we're in the Library Functions Manual section, and this one is lowkey about what happens to your stuff when you ghost the audio server. it's giving "who gets the apartment when we break up" energy fr fr. β¨
πΈ NAME πΈ
AuSetCloseDownMode β change the close down mode of a client π¦
π SYNOPSIS π
#include <audio/audiolib.h>
void AuSetCloseDownMode(server, mode, status)
AuServer *server;
int mode;
AuStatus *status; /* RETURN */
like yes bestie, that's the whole vibe. void return, three args, no notes. π
π«Ά ARGUMENTS π«Ά
serverβ the connection to the audio server. your little link to the mothership, your situationship with the sound daemon if you will. πmodeβ the client close-down mode. it has to be one of these three constants and there is no fourth option, periodt:AuCloseDownDestroyAuCloseDownRetainPermanentAuCloseDownRetainTemporary
statusβ if it's non-NULL, this flushes the output buffer and hands you back the status from the server. if you don't care, passNULLand move on, main character behavior. π
β¨ DESCRIPTION β¨
AuSetCloseDownMode sets the close-down-mode for client to mode. π
and what even IS a close-down-mode, you ask? it's the rule that decides what happens to the resources created by client when the connection gets closed, or when client gets killed via AuKillClient. so basically: do your little creations survive you, or do they get Thanos-snapped the second you leave the group chat? that's the whole question this function answers. πβ¨
so pick your mode wisely bestie, because it's literally deciding the fate of everything you made. no cap. π
π ERRORS π
AuBadValueβ yeah, you passed something cursed. it happens to the best of us. π
π SEE ALSO π
AuCloseServerAuGetCloseDownModeaudiolibβ Network Audio System C Language Interface
okay that's the whole page, you ate that fr fr. π
this little love letter lives in the audiolib β client connections corner of the manual, version 1.9.5, and yes she's still serving AuSetCloseDownMode(3) energy after all this time. mwah. ππ§β¨
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- 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