classaflibaifcfile.html
来自「一个共享源码的音频库5(doc 文档)」· HTML 代码 · 共 367 行
HTML
367 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>aflibAifcFile class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</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>aflibAifcFile Class Reference</h1>Derived class to read and write AIFC audio files. <a href="#_details">More...</a><p><code>#include <<a class="el" href="aflibAifcFile_8h-source.html">aflibAifcFile.h</a>></code><p><p>Inheritance diagram for aflibAifcFile:<p><center><img src="classaflibAifcFile.png" usemap="#aflibAifcFile_map" border="0"></center><map name="aflibAifcFile_map"><area href="classaflibFile.html" alt="aflibFile" shape="rect" coords="0,0,80,24"></map><a href="classaflibAifcFile-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="classaflibAifcFile.html#a0">aflibAifcFile</a> ()</td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a1">~aflibAifcFile</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="aflib_8h.html#a33">aflibStatus</a> </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a2">afopen</a> (const char *file, <a class="el" href="classaflibConfig.html">aflibConfig</a> *cfg)</td></tr><tr><td> </td><td><font size=-1><em>Main API for opening a file or device in read mode.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="aflib_8h.html#a33">aflibStatus</a> </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a3">afcreate</a> (const char *file, const <a class="el" href="classaflibConfig.html">aflibConfig</a> &cfg)</td></tr><tr><td> </td><td><font size=-1><em>Main API for opening a file or device in write mode.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="aflib_8h.html#a33">aflibStatus</a> </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a4">afread</a> (<a class="el" href="classaflibData.html">aflibData</a> &data, long long position=-1)</td></tr><tr><td> </td><td><font size=-1><em>Main API function to read a segment of data.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="aflib_8h.html#a33">aflibStatus</a> </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a5">afwrite</a> (<a class="el" href="classaflibData.html">aflibData</a> &data, long long position=-1)</td></tr><tr><td> </td><td><font size=-1><em>Main API function to write a segment of audio data.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a6">isDataSizeSupported</a> (<a class="el" href="aflib_8h.html#a30">aflib_data_size</a> size)</td></tr><tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a7">isEndianSupported</a> (<a class="el" href="aflib_8h.html#a31">aflib_data_endian</a> end)</td></tr><tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classaflibAifcFile.html#a8">isSampleRateSupported</a> (int &rate)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Derived class to read and write AIFC audio files.<p>This class will read and write audio files of the AIFC (Audio Interchange File Format - Compressed) format. This format is identical to AIFF except that the AIFC format allows for reading and writing compressed data. This module uses the audiofile library to support AIFC. Currently it supports only uncompressed data. <p><hr><h2>Constructor & Destructor Documentation</h2><a name="a0" doxytag="aflibAifcFile::aflibAifcFile"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> aflibAifcFile::aflibAifcFile </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="aflibAifcFile::~aflibAifcFile"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> aflibAifcFile::~aflibAifcFile </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></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="a3" doxytag="aflibAifcFile::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 class="md" nowrap valign="top"> <a class="el" href="aflib_8h.html#a33">aflibStatus</a> aflibAifcFile::afcreate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="classaflibConfig.html">aflibConfig</a> & </td> <td class="mdname" nowrap> <em>cfg</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main API for opening a file or device in write mode.<p>This function is only used for module support. For no module support the derived classes afcreate function will be called instead. For module support this function will make a call to the derived classes function. <p>Reimplemented from <a class="el" href="classaflibFile.html#a2">aflibFile</a>. </td> </tr></table><a name="a2" doxytag="aflibAifcFile::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 class="md" nowrap valign="top"> <a class="el" href="aflib_8h.html#a33">aflibStatus</a> aflibAifcFile::afopen </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classaflibConfig.html">aflibConfig</a> * </td> <td class="mdname" nowrap> <em>cfg</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main API for opening a file or device in read mode.<p>This function is only used for module support. For no modules support the derived classes afopen function will be called instead. For module support this function will make a call to the derived classes function. <p>Reimplemented from <a class="el" href="classaflibFile.html#a1">aflibFile</a>. </td> </tr></table><a name="a4" doxytag="aflibAifcFile::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 class="md" nowrap valign="top"> <a class="el" href="aflib_8h.html#a33">aflibStatus</a> aflibAifcFile::afread </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classaflibData.html">aflibData</a> & </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>position</em> = -1</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main API function to read a segment of data.<p>This function is only used for module support. For no module support the derived classes afread function will be called instead. For module support this function will make a call to the derived classes function. <p>Reimplemented from <a class="el" href="classaflibFile.html#a3">aflibFile</a>. </td> </tr></table><a name="a5" doxytag="aflibAifcFile::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 class="md" nowrap valign="top"> <a class="el" href="aflib_8h.html#a33">aflibStatus</a> aflibAifcFile::afwrite </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classaflibData.html">aflibData</a> & </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>position</em> = -1</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main API function to write a segment of audio data.<p>This function is only used for module support. For no module support the derived classes afwrite function will be called instead. For module support this function will make a call to the derived class. <p>Reimplemented from <a class="el" href="classaflibFile.html#a4">aflibFile</a>. </td> </tr></table><a name="a6" doxytag="aflibAifcFile::isDataSizeSupported"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool aflibAifcFile::isDataSizeSupported </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="aflib_8h.html#a30">aflib_data_size</a> </td> <td class="mdname1" valign="top" nowrap> <em>size</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Reimplemented from <a class="el" href="classaflibFile.html#a15">aflibFile</a>. </td> </tr></table><a name="a7" doxytag="aflibAifcFile::isEndianSupported"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool aflibAifcFile::isEndianSupported </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="aflib_8h.html#a31">aflib_data_endian</a> </td> <td class="mdname1" valign="top" nowrap> <em>end</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Reimplemented from <a class="el" href="classaflibFile.html#a16">aflibFile</a>. </td> </tr></table><a name="a8" doxytag="aflibAifcFile::isSampleRateSupported"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool aflibAifcFile::isSampleRateSupported </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int & </td> <td class="mdname1" valign="top" nowrap> <em>rate</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p><p>Reimplemented from <a class="el" href="classaflibFile.html#a17">aflibFile</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="aflibAifcFile_8h-source.html">aflibAifcFile.h</a><li><a class="el" href="aflibAifcFile_8cc.html">aflibAifcFile.cc</a></ul><hr><address align="right"><small>Generated on Wed May 8 20:51:08 2002 for Open Source Audio Library Project by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?