AuListBuckets(3) Library Functions Manual AuListBuckets(3)Name
AuListBuckets - list buckets
Synopsis
#include <audio/audiolib.h>
AuBucketAttributes *AuListBuckets(server, valuemask, attributes, nbuckets, status)
AuServer *server;
AuMask valuemask;
AuBucketAttributes *attributes;
int *nbuckets; /* RETURN */
AuStatus *status; /* RETURN */
Arguments
server Specifies the connection to the audio server.
valuemask Specifies which bucket attributes are defined in attributes. This must be a bitwise inclusive OR of zero or more of these con-
stants: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUseMask, AuCommonFormatMask, AuCommonNumTracksMask, AuCommonAccess-
Mask, AuCommonDescriptionMask, AuCompBucketSampleRateMask, or AuCompBucketNumSamplesMask. If valuemask is zero, the attributes
are ignored and are not referenced.
attributes
Specifies the structure from which the values (as specified by the value mask) are to be taken.
nbuckets Returns the number of buckets in the returned list.
status If non-NULL, flush the output buffer and return the status from the server.
Description
AuListBuckets returns a list of buckets whose attributes match those values in attributes specified by valuemask, or NULL, with nbuckets
set to 0, if there was an error. Use AuFreeBucketAttributes to free the list when its nolonger needed.
Errors
AuBadLength.
See Also
AuGetBucketAttributes.
audiolib - Network Audio System C Language Interface
audiolib - bucket attributes 1.9.3 AuListBuckets(3)
Check Out this Related Man Page
AuCreateBucket(3) Library Functions Manual AuCreateBucket(3)Name
AuCreateBucket - create a bucket
Synopsis
#include <audio/audiolib.h>
AuBucketID AuCreateBucket(server, format, tracks, access, sample_rate, nsamples, description, status)
AuServer *server;
AuUint32 format;
AuUint32 tracks;
AuUint32 access;
AuUint32 sample_rate;
AuUint32 num_samples;
AuString *description;
AuStatus *status; /* RETURN */
Arguments
server Specifies the connection to the audio server.
format Specifies the data format of the audio data. Currently, the following formats are defined: AuFormatULAW8, AuFormatLinearUn-
signed8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormat-
LinearUnsigned16LSB.
tracks Specifies the number of tracks of the audio data.
access Specifies the types of operations permitted on this bucket. This must be a bitwise inclusive OR of zero or more of these con-
stants: AuAccessImportMask, AuAccessExportMask, AuAccessDestroyMask, and AuAccessListMask.
sample_rate
Specifies the sample rate of the audio data.
num_samples
Specifies the number of samples the bucket will contain.
description
Specifies a textual description of the bucket. This may be NULL.
status If non-NULL, flush the output buffer and return the status from the server.
Description
AuCreateBucket creates a bucket with the specified attributes, and returns the bucket ID, or AuNone if there was an error. The initial
contents of the bucket are undefined.
Errors
AuBadValue, AuBadLength, AuBadAlloc.
See Also
AuDestroyBucket, AuSetBucketAttributes, AuListBuckets, AuFreeBucketAttributes.
audiolib - Network Audio System C Language Interface
audiolib - bucket existence 1.9.3 AuCreateBucket(3)
Hi All,
Using Wget I'm able to get the status of the server.....only when the server is completely down or up....
but problem here in script is Suppose if the server got hang I mean to say that if the server is taking long time to login, for example normally the server takes 3 seconds to login... (3 Replies)
Hi All,
Hope you all doing good.
I'm facing some issue while syncing data using lsyncd. I'm working on a project to migrate data from a source S3 bucket to target S3 bucket. Both buckets has been configured via AWS storage gateway and shared to Linux servers as nfs shares.
The data size on... (5 Replies)