1AuSoundCreateBucketFromFile(L3i)brary Functions ManuAaulSoundCreateBucketFromFile(3)
2
3
4

Name

6       AuSoundCreateBucketFromFile  -  create a bucket and initialize its con‐
7       tents.
8

Synopsis

10       #include <audio/audiolib.h>
11       #include <audio/soundlib.h>
12
13       AuBucketID   AuSoundCreateBucketFromFile(server,   filename,    access,
14       attributes, status)
15           AuServer *server;
16           char *filename;
17           AuUint32 access;
18           AuBucketAttributes **attributes; /* RETURN */
19           AuStatus *status; /* RETURN */
20

Arguments

22       server    Specifies the connection to the audio server.
23
24       filename  Specifies the name of the file.
25
26       access    Specifies the access restrictions the bucket should have.
27
28       attributes
29                 If non-NUll, returns the attributes of the created bucket.
30
31       status    If  non-NULL,  flush  the output buffer and return the status
32                 from the server.
33

Description

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

Errors

40       AuBadValue, AuBadLength, AuBadAlloc.
41

See Also

43       AuSoundCreateBucketFromData.
44
45       audiolib - Network Audio System C Language Interface
46
47
48
49soundlib                             1.9.4      AuSoundCreateBucketFromFile(3)
Impressum