AUSOUNDCREATEFILEFROMBUCKET(3x)
π NAME π
AuSoundCreateFileFromBucket β bestie, this one copies the data from a bucket straight into a file. That's it, that's the whole job, and she does it flawlessly. π
β¨ 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 whole link to the sound world, do not lose her. π«Άfilenameβ the name of the file you wanna use. yes queen, pick a name.file_formatβ (written as file format in the original listing, same girl) the format of the file. rn the supported formats are:SoundFileFormatSnd,SoundFileFormatVoc,SoundFileFormatWave,SoundFileFormatAiff,SoundFileFormatSvx. those five, periodt. πbucketβ the bucket you're pulling the audio data out of. the source of truth fr fr.statusβ if it's non-NULL, it flushes the output buffer and hands you back the status from the server. like a little receipt. π§Ύβ¨
πΈ DESCRIPTION πΈ
AuSoundCreateFileFromBucket makes a file using the audio data from bucket, and returns AuTrue if everything went off without a hitch (the original doc says "successfull" β iconic spelling, we support her) or AuFalse if there was an error. π
so basically: bucket in, file out, no cap. π
π ERRORS π
AuBadBucketβ yeah. that bucket said no. π
π SEE ALSO π
AuSoundCreateDataFromBucketβ the sibling, the other one, go read her too.audiolib - Network Audio System C Language Interface
okay and for the lil sign-off: this whole thing lives in soundlib, version 1.9.5, filed under Library Functions Manual. ily, go make some files, 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