logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AuSoundCreateBucketFromFile - create a bucket and initialize its contents.

Arguments

server    Specifies the connection to the audio server.

       filename  Specifies the name of the file.

       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

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

Errors

AuBadValue, AuBadLength, AuBadAlloc.

Name

AuSoundCreateBucketFromFile - create a bucket and initialize its contents.

See Also

AuSoundCreateBucketFromData.

       audiolib - NetworkAudioSystem C Language Interface

soundlib                                              1.9.4                       AuSoundCreateBucketFromFile(3)

Synopsis

       #include <audio/audiolib.h>
       #include <audio/soundlib.h>

       AuBucketIDAuSoundCreateBucketFromFile(server, filename, access, attributes, status)
           AuServer *server;
           char *filename;
           AuUint32access;
           AuBucketAttributes **attributes; /* RETURN */
           AuStatus *status; /* RETURN */

See Also