Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AuSoundCre...ketFromFile(3) Library Functions Manual AuSoundCre...ketFromFile(3)

Name
     AuSoundCreateBucketFromFile - create a bucket and initialize its contents.

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

     AuBucketID  AuSoundCreateBucketFromFile(server,  filename,  access, attrib-
     utes, status)
	 AuServer *server;
	 char *filename;
	 AuUint32 access;
	 AuBucketAttributes **attributes; /* RETURN */
	 AuStatus *status; /* RETURN */

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.

     attributesIf 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.

See Also
     AuSoundCreateBucketFromData.

     audiolib - Network Audio System C Language Interface

soundlib			      1.9.4	     AuSoundCre...ketFromFile(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=AuSoundCreateBucketFromFile&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help