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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
<!-- 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>Sound</B> - audio file description.
<H2><A NAME="sect1" HREF="#toc1"><B>Structures</B></A></H2>
<P>
#include <audio/audiolib.h><BR>
#include <audio/sound.h>
<P>
typedef struct<BR>
{<BR>
. . .<BR>
}<B>SoundRec</B>, *<B>Sound</B>;
<H2><A NAME="sect2" HREF="#toc2"><B>Members</B></A></H2>
<P>
Do not dereference the members of the <B>SoundRec</B> structure
directly. Instead use the access macros.
<P>
<I>sound</I> is a <B>Sound</B>, a pointer to a <B>SoundRec</B> structure.
<P>
<B>SoundFileFormat(</B><I>sound</I><B>)</B><BR>
Accesses the int value giving the format of the
sound file.
<P>
<B>SoundFileFormatString(</B><I>sound</I><B>)</B><BR>
Accesses the string description of the format of
the sound file.
<P>
<B>SoundDataFormat(</B><I>sound</I><B>)</B><BR>
Accesses the int value giving the data format of
the sound file.
<P>
<B>SoundDataFormatString(</B><I>sound</I><B>)</B><BR>
Accesses the string description of the data format
of the sound file.
<P>
<B>SoundNumTracks(</B><I>sound</I><B>)</B><BR>
Accesses the int value giving the number of
tracks in the audio data in the sound file.
<P>
<B>SoundSampleRate(</B><I>sound</I><B>)</B><BR>
Accesses the int value giving the samples rate
of the audio data in the sound file.
<P>
<B>SoundNumSamples(</B><I>sound</I><B>)</B><BR>
Accesses the int value giving the total number
of samples.
<P>
<B>SoundComment(</B><I>sound</I><B>)</B><BR>
Accesses the string comment.
<P>
<B>SoundBytesPerSample(</B><I>sound</I><B>)</B><BR>
Returns the bytes per sample of audio data.
<P>
<B>SoundNumBytes(</B><I>sound</I><B>)</B><BR>
Returns the total number of bytes of audio data
in the sound file.
<P>
<B>SoundValidateDataFormat(</B><I>sound</I><B>)</B><BR>
Returns true if the sound file format is a valid
format.
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
<P>
The <B>SoundRec</B> structure describes an audio file.
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
<P>
<B>SoundCloseFile</B>, <B>SoundCreate</B>, <B>SoundFlushFile</B>, <B>SoundOpenFileForReading</B>,
<DL>
<DT><B>SoundOpenFileWriting</B>, </DT></DT>
<DD> <B>SoundReadFile</B>,
<B>SoundRewindFile</B>, <B>SoundSeekFile</B>, <B>SoundTellFile</B>, <B>SoundWriteFile</B>.
</DD>
</DL>
<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">Structures</A></LI>
<LI><A NAME="toc2" HREF="#sect2">Members</A></LI>
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI>
</UL>
</BODY></HTML>
|