AuSoundCreateBucketFromData
create a bucket and initialize its contents.
- Provided by: libaudio-dev (Version: 1.9.4-4)
- Source: nas
- Report a bug
create a bucket and initialize its contents.
#include <audio/audiolib.h>
#include <audio/soundlib.h>
AuBucketID
AuSoundCreateBucketFromData(server, sound, data,
access, attributes, status)
AuServer *server;
Sound sound;
AuPointer data;
AuUint32 access;
AuBucketAttributes **attributes; /* RETURN */
AuStatus *status; /* RETURN */
AuSoundCreateBucketFromData creates a bucket, initializing the contents with the audio data from data, and returns the bucket ID or AuNone if there was error.
AuBadValue, AuBadLength, AuBadAlloc.
AuSoundCreateBucketFromFile.
audiolib - Network Audio System C Language Interface