AuCreateBucket - create a bucket
#include <audio/audiolib.h>
AuBucketID AuCreateBucket(server, format, tracks, access,
sample_rate, nsamples, description, status)
AuServer *server;
AuUint32 format;
AuUint32 tracks;
AuUint32 access;
AuUint32 sample_rate;
AuUint32 num_samples;
AuString *description;
AuStatus *status; /* RETURN */
sample_rate
Specifies the sample rate of the audio data.
num_samples
Specifies the number of samples the bucket will
contain.
description
Specifies a textual description of the bucket.
This may be NULL.
AuCreateBucket creates a bucket with the specified attributes, and returns the bucket ID, or AuNone if there was an error. The initial contents of the bucket are undefined.
AuBadValue, AuBadLength, AuBadAlloc.
AuDestroyBucket, AuSetBucketAttributes, AuListBuckets, AuFreeBucketAttributes.
audiolib - Network Audio System C Language Interface