AUSOUNDCREATEFILEFROMBUCKET(3nas)
β¨ NAME β¨
AuSoundCreateFileFromBucket β bestie, this one copies the data from a bucket straight into a file πΎπ«Ά
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
#include <audio/soundlib.h>
AuBool AuSoundCreateFileFromBucket(server, filename, file_format,
bucket, status)
AuServer *server;
char *filename;
int file_format;
AuBucketID bucket;
AuStatus *status;
π ARGUMENTS π
serverβ the connection to the audio server. like, your lil phone line to the server, okurrr βοΈfilenameβ the name of the file you wanna use. yes bestie, you get to pick it πfile formatβ the format of the file. rn the supported ones are:SoundFileFormatSnd,SoundFileFormatVoc,SoundFileFormatWave,SoundFileFormatAiff,SoundFileFormatSvx. pick your fighter πbucketβ the bucket the audio data is coming from. this is the source of truth, the main character πstatusβ if it's non-NULL, it flushes the output buffer and hands you back the status from the server. if it'sNULL, no status for you, bestie π
π DESCRIPTION π
So here's the tea: AuSoundCreateFileFromBucket makes a file using the audio data from bucket. That's it, that's the whole vibe β¨
It returns AuTrue if it's successfull, or AuFalse if there was an error π so like, always check, no cap.
π ERRORS π
AuBadBucketβ the bucket said no. not the vibe.
π¦ SEE ALSO π¦
AuSoundCreateDataFromBucketaudiolib- Network Audio System C Language Interface
okay that's the whole page bestie, you ate π this lil masterpiece comes to you from soundlib, version 1.9.4 π go forth and create those files, icon β¨ππ
π¦ 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