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's NULL, 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 πŸ¦‹

  • AuSoundCreateDataFromBucket
  • audiolib - 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