AuSoundCreateBucketFromData(3nas)

AuSoundCreateBucketFromData3nas

Create a bucket and initialize its contents.

Usage

#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 */

Arguments

server

Specifies the connection to the audio server.

sound

Specifies the audio data description.

data

Specifies the audio data for the bucket.

access

Specifies the access restrictions the bucket should have.

attributes

If non-NULL, returns the attributes of the created bucket.

status

If non-NULL, flush the output buffer and return the status from the server.

Overview

AuSoundCreateBucketFromData creates a bucket, initializing the contents with the audio data from data, and returns the bucket ID or AuNone if there was error.

Errors

AuBadValue, AuBadLength, AuBadAlloc.

Releases

14 releases since Debian 2.1 (Slink); the text changed 6 times.

  1. 2.1–2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0–6.0
  6. 7
  7. 8–13

From libaudio-dev 1.9.4-9 in Debian 13 (Trixie). Parsed by carta from the page's man source.