1
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
2
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
6
<TITLE>man page(1)</TITLE>
9
<A HREF="#toc">Table of Contents</A><P>
11
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
14
<B>AuConvertShortToData</B> - convert signed short integers to
17
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
20
#include <audio/audiolib.h>
22
int <B>AuConvertShortToData</B>(<I>format</I>, <I>num</I><B>_</B><I>bytes</I>, <I>data</I>)
23
int <I>format</I>;<BR>
25
int <I>num</I><B>_</B><I>bytes</I>;<BR>
27
<B>AuPointer</B> <I>data</I>;
29
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
34
<DT><I>format</I> </DT></DT>
35
<DD> Specifies the format to convert to. Currently,
36
the following data formats are defined: <B>AuFormatULAW8</B>,
37
<B>AuFormatLinearUnsigned8</B>, <B>AuFormatLinearSigned8</B>,
38
<B>AuFormatLinearSigned16MSB</B>, <B>AuFormatLinearUnsigned16MSB</B>,
39
<B>AuFormatSignedLinear16LSB</B>,
40
and <B>AuFormatLinearUnsigned16LSB</B>.
44
<I>num</I><B>_</B><I>bytes</I> Specifies the number of bytes of data.
48
<DT><I>data</I> </DT></DT>
49
<DD> Specifies the data to convert.
53
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
56
<B>AuConvertShortToData</B> converts <I>num</I><B>_</B><I>bytes</I> of <I>data</I> from
57
signed short integer to <I>format</I>, returning 0 if successful,
58
or -1 if <I>format</I> isn't valid.
60
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
63
<B>AuConvertDataToShort</B>.
65
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
69
<A NAME="toc"><B>Table of Contents</B></A><P>
71
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
72
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
73
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
74
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
75
<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI>