Profile

AuSoundCreateBucketFromData

AuSoundCreateBucketFromData

Name

AuSoundCreateBucketFromData - create a bucket and initialize its contents.

Synopsis

#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.

Description

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.

See Also

AuSoundCreateBucketFromFile.

audiolib - Network Audio System C Language Interface

AuSoundCreateBucketFromFile
Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions


Sign-in with one of the following services

Almost finished!

Please select a screen name for NET SOUP.



 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.

COMPLIMENTARY EXAMPLES

We have no example yet for this entry


Your Name
Now

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed