1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
<HTML>
<HEAD>
<TITLE>man page(1)</TITLE>
</HEAD>
<BODY bgcolor=white>
<A HREF="#toc">Table of Contents</A><P>
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
<P>
<B>AuSoundCreateBucketFromData</B> - create a bucket and initialize
its contents.
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
<P>
#include <audio/audiolib.h><BR>
#include <audio/soundlib.h>
<P>
<B>AuBucketID</B> <B>AuSoundCreateBucketFromData</B>(<I>server</I>, <I>sound</I>,
<I>data</I>, <I>access</I>, <I>attributes</I>, <I>status</I>)<BR>
<B>AuServer</B> *<I>server</I>;<BR>
<B>Sound</B> <I>sound</I>;<BR>
<B>AuPointer</B> <I>data</I>;<BR>
<B>AuUint32</B> <I>access</I>;<BR>
<B>AuBucketAttributes</B> **<I>attributes</I>; /* <B>RETURN</B> */
<B>AuStatus</B> *<I>status</I>; /* <B>RETURN</B> */
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
<DL>
<DT><I>server</I> </DT></DT>
<DD> Specifies the connection to the audio server.
</DD>
<DT><I>sound</I> </DT></DT>
<DD> Specifies the audio data description.
</DD>
<DT><I>data</I> </DT></DT>
<DD> Specifies the audio data for the bucket.
</DD>
<DT><I>access</I> </DT></DT>
<DD> Specifies the access restrictions the bucket
should have.
</DD>
</DL>
<P>
<I>attributes</I><BR>
If non-NULL, returns the attributes of the created
bucket.
<DL>
<DT><I>status</I> </DT></DT>
<DD> If non-NULL, flush the output buffer and return
the status from the server.
</DD>
</DL>
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
<P>
<B>AuSoundCreateBucketFromData</B> creates a bucket, initializing
the contents with the audio data from <I>data</I>, and returns
the bucket ID or <B>AuNone</B> if there was error.
<H2><A NAME="sect4" HREF="#toc4"><B>Errors</B></A></H2>
<P>
<B>AuBadValue</B>, <B>AuBadLength</B>, <B>AuBadAlloc</B>.
<H2><A NAME="sect5" HREF="#toc5"><B>See</B> <B>Also</B></A></H2>
<P>
<B>AuSoundCreateBucketFromFile</B>.
<P>
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
<P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
<LI><A NAME="toc4" HREF="#sect4">Errors</A></LI>
<LI><A NAME="toc5" HREF="#sect5">See Also</A></LI>
</UL>
</BODY></HTML>
|