~ubuntu-branches/debian/squeeze/nas/squeeze

« back to all changes in this revision

Viewing changes to doc/html/man3/AuCShTDa.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2008-10-08 01:18:19 UTC
  • mfrom: (4.1.7 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081008011819-wmr4h2w0298k8t7z
Tags: 1.9.1-5
* Fix pending l10n issues. Debconf translations:
* Swedish. Closes: #491766 (thanks to brother@bsnet.se)
* Arabic. Closes: #500437 (thanks to Ossama Khayat)
* Basque. Closes: #500533 (thanks to Piarres Beobide)
* Brazilian Portuguese. Closes: #500973 (thanks to Felipe
  Augusto van de Wiel)
* Many thanks again to Christian Perrier for his i18n efforts,
  co-ordinating the above.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 -->
3
 
 
4
 
<HTML>
5
 
<HEAD>
6
 
<TITLE>man page(1)</TITLE>
7
 
</HEAD>
8
 
<BODY bgcolor=white>
9
 
<A HREF="#toc">Table of Contents</A><P>
10
 
 
11
 
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
12
 
 
13
 
<P>
14
 
<B>AuConvertShortToData</B> - convert signed short integers to
15
 
the specified format.
16
 
 
17
 
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
18
 
 
19
 
<P>
20
 
#include &lt;audio/audiolib.h&gt;
21
 
<P>
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>
24
 
 
25
 
int <I>num</I><B>_</B><I>bytes</I>;<BR>
26
 
 
27
 
<B>AuPointer</B> <I>data</I>;
28
 
 
29
 
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
30
 
 
31
 
 
32
 
<DL>
33
 
 
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>.
41
 
</DD>
42
 
</DL>
43
 
<P>
44
 
<I>num</I><B>_</B><I>bytes</I> Specifies the number of bytes of data.
45
 
 
46
 
<DL>
47
 
 
48
 
<DT><I>data</I> </DT></DT>
49
 
<DD>     Specifies the data to convert.
50
 
</DD>
51
 
</DL>
52
 
 
53
 
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
54
 
 
55
 
<P>
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.
59
 
 
60
 
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
61
 
 
62
 
<P>
63
 
<B>AuConvertDataToShort</B>.
64
 
<P>
65
 
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
66
 
<P>
67
 
 
68
 
<HR><P>
69
 
<A NAME="toc"><B>Table of Contents</B></A><P>
70
 
<UL>
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>
76
 
</UL>
77
 
</BODY></HTML>