Scroll to navigation

AuDestroyBucket(3) Library Functions Manual AuDestroyBucket(3)

Name

AuDestroyBucket - destroy bucket

Synopsis

#include <audio/audiolib.h>

void AuDestroyBucket(server, bucket, status)
AuServer *server;
AuBucketID bucket;
AuStatus *status; /* RETURN */

Arguments

Specifies the connection to the audio server.
Specifies the ID of the bucket to be destroyed.
If non-NULL, flush the output buffer and return the status from the server.

Description

AuDestroyBucket destroys the specified bucket, releasing the resources used by the bucket. If the bucket is currently in use, the resources will not be released until the bucket is nolonger in use.

Errors

AuBadBucket, AuBadAccess.

See Also

AuCreateBucket.

audiolib - Network Audio System C Language Interface

1.9.4 audiolib - bucket existence