AUSOUNDCREATEFILEFROMBUCKET(3x)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

πŸ’– 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