AuSoundCreateBucketFromData (3)
Leading comments
$NCDId: @(#)AuSCBFD.man,v 1.1 1994/09/27 00:34:14 greg Exp $ copyright 1994 Steven King portions are * Copyright 1993 Network Computing Devices, Inc. * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation, and that the name Network Computing ...
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