classaflibfile.html
来自「一个共享源码的音频库5(doc 文档)」· HTML 代码 · 共 1,188 行 · 第 1/4 页
HTML
1,188 行
<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 in <a class="el" href="classaflibAifcFile.html#a6">aflibAifcFile</a>, <a class="el" href="classaflibAiffFile.html#a6">aflibAiffFile</a>, <a class="el" href="classaflibAuFile.html#a6">aflibAuFile</a>, <a class="el" href="classaflibBladeFile.html#a6">aflibBladeFile</a>, <a class="el" href="classaflibLameFile.html#a6">aflibLameFile</a>, <a class="el" href="classaflibMpgFile.html#a6">aflibMpgFile</a>, <a class="el" href="classaflibMpg123File.html#a6">aflibMpg123File</a>, <a class="el" href="classaflibOggFile.html#a6">aflibOggFile</a>, <a class="el" href="classaflibDevFile.html#a8">aflibDevFile</a>, <a class="el" href="classaflibSolarisSparcDevFile.html#a7">aflibSolarisSparcDevFile</a>, <a class="el" href="classaflibSoxFile.html#a6">aflibSoxFile</a>, and <a class="el" href="classaflibWavFile.html#a6">aflibWavFile</a>. </td> </tr></table><a name="a16" doxytag="aflibFile::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 aflibFile::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 in <a class="el" href="classaflibAifcFile.html#a7">aflibAifcFile</a>, <a class="el" href="classaflibAiffFile.html#a7">aflibAiffFile</a>, <a class="el" href="classaflibAuFile.html#a7">aflibAuFile</a>, <a class="el" href="classaflibBladeFile.html#a7">aflibBladeFile</a>, <a class="el" href="classaflibLameFile.html#a7">aflibLameFile</a>, <a class="el" href="classaflibMpgFile.html#a7">aflibMpgFile</a>, <a class="el" href="classaflibMpg123File.html#a7">aflibMpg123File</a>, <a class="el" href="classaflibOggFile.html#a7">aflibOggFile</a>, <a class="el" href="classaflibDevFile.html#a9">aflibDevFile</a>, <a class="el" href="classaflibSolarisSparcDevFile.html#a8">aflibSolarisSparcDevFile</a>, <a class="el" href="classaflibSoxFile.html#a7">aflibSoxFile</a>, and <a class="el" href="classaflibWavFile.html#a7">aflibWavFile</a>. </td> </tr></table><a name="a17" doxytag="aflibFile::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 aflibFile::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 in <a class="el" href="classaflibAifcFile.html#a8">aflibAifcFile</a>, <a class="el" href="classaflibAiffFile.html#a8">aflibAiffFile</a>, <a class="el" href="classaflibAuFile.html#a8">aflibAuFile</a>, <a class="el" href="classaflibBladeFile.html#a8">aflibBladeFile</a>, <a class="el" href="classaflibLameFile.html#a8">aflibLameFile</a>, <a class="el" href="classaflibMpgFile.html#a8">aflibMpgFile</a>, <a class="el" href="classaflibMpg123File.html#a8">aflibMpg123File</a>, <a class="el" href="classaflibOggFile.html#a8">aflibOggFile</a>, <a class="el" href="classaflibDevFile.html#a10">aflibDevFile</a>, <a class="el" href="classaflibSolarisSparcDevFile.html#a9">aflibSolarisSparcDevFile</a>, <a class="el" href="classaflibSoxFile.html#a8">aflibSoxFile</a>, and <a class="el" href="classaflibWavFile.html#a8">aflibWavFile</a>. </td> </tr></table><a name="d3" doxytag="aflibFile::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 class="md" nowrap valign="top"> aflibFile * aflibFile::open </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const string & </td> <td class="mdname" nowrap> <em>format</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const string & </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> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="aflib_8h.html#a33">aflibStatus</a> * </td> <td class="mdname" nowrap> <em>status</em> = NULL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main static function to open a file or device for reading based on format string.<p>This is a static function of this class. Users call this function as the main API to open an audio file or device for reading. Since this is a static member function it is not associated with any aflibFile object and thus no data members can be accessed. The user passes in the file type to be opened. This must be one of the file types supplied by the function <a class="el" href="classaflibFile.html#d0">aflibFile::returnSupportedFormats</a>. Also passed is the file name which should contain the file and directory in which the file can be found. Passed back to the user will be a cfg structure filled that was allocated by the caller. This will tell information about the data. Also will be a status to indicate if any errors occurred. </td> </tr></table><a name="d2" doxytag="aflibFile::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 class="md" nowrap valign="top"> aflibFile * aflibFile::open </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="aflib_8h.html#a34">aflibFileType</a> </td> <td class="mdname" nowrap> <em>type_enum</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const string & </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> = NULL, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="aflib_8h.html#a33">aflibStatus</a> * </td> <td class="mdname" nowrap> <em>status</em> = NULL</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Main static function to open a file or device for reading based on aflibFileType.<p>This is a static function of this class. Users call this function as the main API to open an audio file or device for reading. Since this is a static member function it is not associated with any aflibFile object and thus no data members can be accessed. The user passes in the file type to be opened. This can be one of the defined types or AFLIB_AUTO_TYPE. This will search the list of supported formats for a match and use that format. If AFLIB_AUTO_TYPE is specified then it will open the file and use a format that matches that file type based on information supplied by each module. Also passed is the file name which should contain the file and directory in which the file can be found. Passed back to the user will be a cfg structure filled that was allocated by the caller. This will tell information about the data. Also will be a status to indicate if any errors occurred. </td> </tr></table><a name="d1" doxytag="aflibFile::returnSupportedFormats"></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"> const list< <a class="el" href="classaflibFileItem.html">aflibFileItem</a> * > & aflibFile::returnSupportedFormats </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Returns all currently supported formats.<p>This public static function returns a reference to the supported module formats. See <a class="el" href="aflibFileItem_8h.html">aflibFileItem.h</a> for details. </td> </tr></table><a name="d0" doxytag="aflibFile::returnSupportedFormats"></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"> void aflibFile::returnSupportedFormats </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">list< string > & </td> <td class="mdname" nowrap> <em>formats</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>list< string > & </td> <td class="mdname" nowrap> <em>descriptions</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Returns all currently supported formats.<p>This public static function returns to the user two lists. The first is the list of supported formats. The second is a corresponding list of descriptions that relate to the formats returned. </td> </tr></table><a name="a8" doxytag="aflibFile::setInputConfig"></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"> void aflibFile::setInputConfig </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classaflibConfig.html">aflibConfig</a> & </td> <td class="mdname1" valign="top" nowrap> <em>cfg</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> </td> </tr></table><a name="a5" doxytag="aflibFile::setItem"></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 aflibFile::setItem </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const char * </td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?