1AuSoundCreateBucketFromData(L3i)brary Functions ManuAaulSoundCreateBucketFromData(3)
2
3
4
6 AuSoundCreateBucketFromData - create a bucket and initialize its con‐
7 tents.
8
10 #include <audio/audiolib.h>
11 #include <audio/soundlib.h>
12
13 AuBucketID AuSoundCreateBucketFromData(server, sound, data, access,
14 attributes, status)
15 AuServer *server;
16 Sound sound;
17 AuPointer data;
18 AuUint32 access;
19 AuBucketAttributes **attributes; /* RETURN */
20 AuStatus *status; /* RETURN */
21
23 server Specifies the connection to the audio server.
24
25 sound Specifies the audio data description.
26
27 data Specifies the audio data for the bucket.
28
29 access Specifies the access restrictions the bucket should have.
30
31 attributes
32 If non-NULL, returns the attributes of the created bucket.
33
34 status If non-NULL, flush the output buffer and return the status
35 from the server.
36
38 AuSoundCreateBucketFromData creates a bucket, initializing the contents
39 with the audio data from data, and returns the bucket ID or AuNone if
40 there was error.
41
43 AuBadValue, AuBadLength, AuBadAlloc.
44
46 AuSoundCreateBucketFromFile.
47
48 audiolib - Network Audio System C Language Interface
49
50
51
52soundlib 1.9.4 AuSoundCreateBucketFromData(3)