<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>AudioFile class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Fri Oct 5 09:43:52 2001 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>AudioFile Class Reference</h1>A class used to manipulate audio data. audio file access. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="audio_h-source.html">audio.h</a>></code> <p> <a href="class_audiofile-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_audiofile.html#a0">AudioFile</a> (const char *fname, unsigned long samples=0)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_audiofile.html#a1">AudioFile</a> (const char *fname, <a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> *info, unsigned long min=0)</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_audiofile.html#a2">AudioFile</a> ()</td></tr> <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_audiofile.html#a3">~AudioFile</a> ()</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_audiofile.html#a4">Open</a> (const char *fname)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_audiofile.html#a5">Create</a> (const char *fname, <a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> *info)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_audiofile.html#a6">Close</a> (void)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_audiofile.html#a7">getBuffer</a> (void *addr, unsigned len)</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_audiofile.html#a8">putBuffer</a> (void *attr, unsigned len)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a9">getSamples</a> (void *addr, unsigned samples)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a10">putSamples</a> (void *addr, unsigned samples)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a11">Skip</a> (long samples)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a12">setPosition</a> (unsigned long samples=~0l)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a13">getInfo</a> (<a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> *info)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a14">setMinimum</a> (unsigned long samples)</td></tr> <tr><td nowrap align=right valign=top>unsigned long </td><td valign=bottom><a class="el" href="class_audiofile.html#a15">getPosition</a> (void)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#a16">isOpen</a> (void)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#a17">hasPositioning</a> (void)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a56">audioencoding_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a18">getEncoding</a> (void)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a57">audioformat_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a19">getFormat</a> (void)</td></tr> <tr><td nowrap align=right valign=top>unsigned </td><td valign=bottom><a class="el" href="class_audiofile.html#a20">getSampleRate</a> (void)</td></tr> <tr><td nowrap align=right valign=top>char* </td><td valign=bottom><a class="el" href="class_audiofile.html#a21">getAnnotation</a> (void)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#a22">getError</a> (void)</td></tr> <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_audiofile.html#a23">operator!</a> (void)</td></tr> <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#b0">afCreate</a> (const char *path)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#b1">afOpen</a> (const char *path)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#b2">afPeek</a> (unsigned char *data, unsigned size)</td></tr> <tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="class_audiofile.html#b3">afRead</a> (unsigned char *data, unsigned size)</td></tr> <tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="class_audiofile.html#b4">afWrite</a> (unsigned char *data, unsigned size)</td></tr> <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_audiofile.html#b5">afSeek</a> (unsigned long pos)</td></tr> <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_audiofile.html#b6">afClose</a> (void)</td></tr> <tr><td nowrap align=right valign=top>virtual char* </td><td valign=bottom><a class="el" href="class_audiofile.html#b7">getContinuation</a> (void)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="audio_h.html#a58">audioerror_t</a> </td><td valign=bottom><a class="el" href="class_audiofile.html#b8">setError</a> (<a class="el" href="audio_h.html#a58">audioerror_t</a> err)</td></tr> <tr><td nowrap align=right valign=top>unsigned short </td><td valign=bottom><a class="el" href="class_audiofile.html#b9">getaushort</a> (unsigned char *data)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_audiofile.html#b10">setaushort</a> (unsigned char *data, unsigned short value)</td></tr> <tr><td nowrap align=right valign=top>unsigned long </td><td valign=bottom><a class="el" href="class_audiofile.html#b11">getaulong</a> (unsigned char *data)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_audiofile.html#b12">setaulong</a> (unsigned char *data, unsigned long value)</td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td nowrap>union {</td></tr> <tr><td nowrap> int <a class="el" href="class_audiofile.html#n0">fd</a></td></tr> <tr><td nowrap> void* <a class="el" href="class_audiofile.html#n1">handle</a></td></tr> <tr><td nowrap valign=top>} </td><td valign=bottom><a class="el" href="class_audiofile.html#n2">file</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A class used to manipulate audio data. audio file access. <p> This class provides file level access to audio data stored in different formats. This class also provides the ability to write audio data into a disk file. <p> <dl compact><dt> <b>Author(s): </b><dd> David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> </dl> <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="AudioFile::AudioFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> AudioFile::AudioFile ( </b></td> <td valign="bottom"><b> const char * <em>fname</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned long <em>samples</em> = 0 ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="AudioFile::AudioFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> AudioFile::AudioFile ( </b></td> <td valign="bottom"><b> const char * <em>fname</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> * <em>info</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned long <em>min</em> = 0 ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="AudioFile::AudioFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> AudioFile::AudioFile ( </b></td> <td valign="bottom"><b> )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a3" doxytag="AudioFile::~AudioFile"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> AudioFile::~AudioFile ( </b></td> <td valign="bottom"><b> )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a6" doxytag="AudioFile::Close"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void AudioFile::Close ( </b></td> <td valign="bottom"><b> void ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="AudioFile::Create"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void AudioFile::Create ( </b></td> <td valign="bottom"><b> const char * <em>fname</em>, </b></td> </tr> <tr> <td></td> <td><b> <a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> * <em>info</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a4" doxytag="AudioFile::Open"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void AudioFile::Open ( </b></td> <td valign="bottom"><b> const char * <em>fname</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a11" doxytag="AudioFile::Skip"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::Skip ( </b></td> <td valign="bottom"><b> long <em>samples</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b6" doxytag="AudioFile::afClose"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual void AudioFile::afClose ( </b></td> <td valign="bottom"><b> void )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b0" doxytag="AudioFile::afCreate"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual bool AudioFile::afCreate ( </b></td> <td valign="bottom"><b> const char * <em>path</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b1" doxytag="AudioFile::afOpen"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual bool AudioFile::afOpen ( </b></td> <td valign="bottom"><b> const char * <em>path</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b2" doxytag="AudioFile::afPeek"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual bool AudioFile::afPeek ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>size</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b3" doxytag="AudioFile::afRead"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual int AudioFile::afRead ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>size</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b5" doxytag="AudioFile::afSeek"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual bool AudioFile::afSeek ( </b></td> <td valign="bottom"><b> unsigned long <em>pos</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b4" doxytag="AudioFile::afWrite"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual int AudioFile::afWrite ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>size</em> )<code> [protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a21" doxytag="AudioFile::getAnnotation"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> char * AudioFile::getAnnotation ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a7" doxytag="AudioFile::getBuffer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int AudioFile::getBuffer ( </b></td> <td valign="bottom"><b> void * <em>addr</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>len</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b7" doxytag="AudioFile::getContinuation"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> char * AudioFile::getContinuation ( </b></td> <td valign="bottom"><b> void )<code> [inline, protected, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a18" doxytag="AudioFile::getEncoding"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a56">audioencoding_t</a> AudioFile::getEncoding ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a22" doxytag="AudioFile::getError"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::getError ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a19" doxytag="AudioFile::getFormat"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a57">audioformat_t</a> AudioFile::getFormat ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a13" doxytag="AudioFile::getInfo"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::getInfo ( </b></td> <td valign="bottom"><b> <a class="el" href="struct_audioinfo_t.html">audioinfo_t</a> * <em>info</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a15" doxytag="AudioFile::getPosition"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> unsigned long AudioFile::getPosition ( </b></td> <td valign="bottom"><b> void ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a20" doxytag="AudioFile::getSampleRate"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> unsigned AudioFile::getSampleRate ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a9" doxytag="AudioFile::getSamples"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::getSamples ( </b></td> <td valign="bottom"><b> void * <em>addr</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>samples</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b11" doxytag="AudioFile::getaulong"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> unsigned long AudioFile::getaulong ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b9" doxytag="AudioFile::getaushort"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> unsigned short AudioFile::getaushort ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a17" doxytag="AudioFile::hasPositioning"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool AudioFile::hasPositioning ( </b></td> <td valign="bottom"><b> void )<code> [inline, virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a16" doxytag="AudioFile::isOpen"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> virtual bool AudioFile::isOpen ( </b></td> <td valign="bottom"><b> void )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a23" doxytag="AudioFile::operator!"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool AudioFile::operator! ( </b></td> <td valign="bottom"><b> void )<code> [inline]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a8" doxytag="AudioFile::putBuffer"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int AudioFile::putBuffer ( </b></td> <td valign="bottom"><b> void * <em>attr</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>len</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a10" doxytag="AudioFile::putSamples"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::putSamples ( </b></td> <td valign="bottom"><b> void * <em>addr</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned <em>samples</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b8" doxytag="AudioFile::setError"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::setError ( </b></td> <td valign="bottom"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> <em>err</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a14" doxytag="AudioFile::setMinimum"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::setMinimum ( </b></td> <td valign="bottom"><b> unsigned long <em>samples</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a12" doxytag="AudioFile::setPosition"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> <a class="el" href="audio_h.html#a58">audioerror_t</a> AudioFile::setPosition ( </b></td> <td valign="bottom"><b> unsigned long <em>samples</em> = ~0l ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b12" doxytag="AudioFile::setaulong"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void AudioFile::setaulong ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned long <em>value</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="b10" doxytag="AudioFile::setaushort"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void AudioFile::setaushort ( </b></td> <td valign="bottom"><b> unsigned char * <em>data</em>, </b></td> </tr> <tr> <td></td> <td><b> unsigned short <em>value</em> )<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="n0" doxytag="AudioFile::fd"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int AudioFile::fd<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="n2" doxytag="AudioFile::file"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> union { ... } AudioFile::file<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="n1" doxytag="AudioFile::handle"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void* AudioFile::handle<code> [protected]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="audio_h-source.html">audio.h</a></ul> <hr><address><small>Generated at Fri Oct 5 09:43:52 2001 for ccaudio by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>