📄 classpwavfileconverter.html
字号:
<!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>PWAVFileConverter class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</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>PWAVFileConverter Class Reference</h1><code>#include <<a class="el" href="pwavfile_8h-source.html">pwavfile.h</a>></code><p><a href="classPWAVFileConverter-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>virtual unsigned </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a0">GetFormat</a> (const <a class="el" href="classPWAVFile.html">PWAVFile</a> &file) const=0</td></tr><tr><td nowrap align=right valign=top>virtual off_t </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a1">GetPosition</a> (const <a class="el" href="classPWAVFile.html">PWAVFile</a> &file) const=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a2">SetPosition</a> (<a class="el" href="classPWAVFile.html">PWAVFile</a> &file, off_t pos, <a class="el" href="classPFile.html#z133_0">PFile::FilePositionOrigin</a> origin)=0</td></tr><tr><td nowrap align=right valign=top>virtual unsigned </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a3">GetSampleSize</a> (const <a class="el" href="classPWAVFile.html">PWAVFile</a> &file) const=0</td></tr><tr><td nowrap align=right valign=top>virtual off_t </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a4">GetDataLength</a> (<a class="el" href="classPWAVFile.html">PWAVFile</a> &file)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a5">Read</a> (<a class="el" href="classPWAVFile.html">PWAVFile</a> &file, void *buf, PINDEX len)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL </td><td valign=bottom><a class="el" href="classPWAVFileConverter.html#a6">Write</a> (<a class="el" href="classPWAVFile.html">PWAVFile</a> &file, const void *buf, PINDEX len)=0</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>abstract factory class for autoconversion of WAV files to/from PCM-16 <p><hr><h2>Member Function Documentation</h2><a name="a4" doxytag="PWAVFileConverter::GetDataLength"></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"> virtual off_t PWAVFileConverter::GetDataLength </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname1" valign="top" nowrap> <em>file</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [pure 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="a0" doxytag="PWAVFileConverter::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 class="md" nowrap valign="top"> virtual unsigned PWAVFileConverter::GetFormat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname1" valign="top" nowrap> <em>file</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [pure 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="a1" doxytag="PWAVFileConverter::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 class="md" nowrap valign="top"> virtual off_t PWAVFileConverter::GetPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname1" valign="top" nowrap> <em>file</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [pure 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="a3" doxytag="PWAVFileConverter::GetSampleSize"></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"> virtual unsigned PWAVFileConverter::GetSampleSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname1" valign="top" nowrap> <em>file</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [pure 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="PWAVFileConverter::Read"></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"> virtual BOOL PWAVFileConverter::Read </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>buf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>PINDEX </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure 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="a2" doxytag="PWAVFileConverter::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 class="md" nowrap valign="top"> virtual BOOL PWAVFileConverter::SetPosition </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>off_t </td> <td class="mdname" nowrap> <em>pos</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPFile.html#z133_0">PFile::FilePositionOrigin</a> </td> <td class="mdname" nowrap> <em>origin</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure 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="a6" doxytag="PWAVFileConverter::Write"></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"> virtual BOOL PWAVFileConverter::Write </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPWAVFile.html">PWAVFile</a> & </td> <td class="mdname" nowrap> <em>file</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const void * </td> <td class="mdname" nowrap> <em>buf</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>PINDEX </td> <td class="mdname" nowrap> <em>len</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [pure virtual]</code></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="pwavfile_8h-source.html">pwavfile.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:21 2004 for PWLib 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.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -