AuDestroyBucket(3)
π AuDestroyBucket(3) β the bucket destruction page π
Library Functions Manual β¨ yes bestie, we're in the C library section, get comfy π«Ά
πΈ NAME πΈ
AuDestroyBucket β destroy bucket π
β¨ SYNOPSIS β¨
#include <audio/audiolib.h>
void AuDestroyBucket(server, bucket, status)
AuServer *server;
AuBucketID bucket;
AuStatus *status; /* RETURN */
likeβ¦ it's giving "void, no return value, we just vibe and the bucket is gone" π
π ARGUMENTS π
serverβ the connection to the audio server π₯οΈβ¨ this is your link to the whole audio situation.bucketβ the ID of the bucket that's about to be destroyed π lowkey a little sad but okay.statusβ if it's non-NULL, it flushes the output buffer and hands you back the status from the server π¨ (the comment in the synopsis literally says/* RETURN */, so yeah, this one's the output).
π¦ DESCRIPTION π¦
So AuDestroyBucket destroys the bucket you point it at, releasing the resources that bucket was using πβ¨ that's the whole job, and it ate, no crumbs.
BUT β and this is the important part, bestie, don't skip it β if the bucket is currently in use, the resources will not be released until the bucket is no longer in use π so it's not instant-instant, it's more like "okay you're on the list, we'll free you when you're done serving."
no cap, it's not a force-delete. the bucket finishes its shift first. π
π ERRORS π
AuBadBucketAuBadAccess
yeahβ¦ those can happen. read them, respect them. π«Ά
π SEE ALSO π
AuCreateBucketβ the origin story, the birth of the bucket πΌβ¨audiolibβ Network Audio System C Language Interface π
π§ SIGN-OFF π§
that's the page, babe π it came from the audiolib docs, under the very cute descriptor "audiolib - bucket existence", at version 1.9.4 πΈ
AuDestroyBucket(3) β go forth and clean up your buckets responsibly, queen ππ
β¨
π¦ 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