⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classaflibconfig.html

📁 一个共享源码的音频库5(doc 文档)
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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>aflibConfig 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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>aflibConfig  Class Reference</h1>Audio data configuration. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="aflibConfig_8h-source.html">aflibConfig.h</a>&gt;</code><p><a href="classaflibConfig-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>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a0">aflibConfig</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a1">aflibConfig</a> (int num_channels, <a class="el" href="aflib_8h.html#a30">aflib_data_size</a> bits_per_sample, int samples_per_second)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Constructor with parameters.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a2">~aflibConfig</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE int&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a3">getChannels</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the number of channels.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a4">setChannels</a> (int channels)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the number of channels.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE int&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a5">getBitsPerSample</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the number of bits per sample.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE <a class="el" href="aflib_8h.html#a30">aflib_data_size</a>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a6">getSampleSize</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the sample size.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a7">setSampleSize</a> (<a class="el" href="aflib_8h.html#a30">aflib_data_size</a> bits_per_sample)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the sample size.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE int&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a8">getSamplesPerSecond</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the samples per second.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a9">setSamplesPerSecond</a> (int samples_per_second)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the samples per second.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE <a class="el" href="aflib_8h.html#a32">aflib_data_orientation</a>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a10">getDataOrientation</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the data orientation.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a11">setDataOrientation</a> (<a class="el" href="aflib_8h.html#a32">aflib_data_orientation</a> data_orientation)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the data orientation.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE <a class="el" href="aflib_8h.html#a31">aflib_data_endian</a>&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a12">getDataEndian</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the endian of the data.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a13">setDataEndian</a> (<a class="el" href="aflib_8h.html#a31">aflib_data_endian</a> data_endian)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the endian of the data.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE long long&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a14">getTotalSamples</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the total number of samples.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INLINE void&nbsp;</td><td valign=bottom><a class="el" href="classaflibConfig.html#a15">setTotalSamples</a> (long long total)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the total number of samples.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Audio data configuration.<p>This class defines how audio data is formatted. This is just a simple data class. Most functions are inline in order to speed execution. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="aflibConfig::aflibConfig"></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"> aflibConfig::aflibConfig </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Constructor.<p>    </td>  </tr></table><a name="a1" doxytag="aflibConfig::aflibConfig"></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"> aflibConfig::aflibConfig </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>num_channels</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="aflib_8h.html#a30">aflib_data_size</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>bits_per_sample</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>samples_per_second</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Constructor with parameters.<p>    </td>  </tr></table><a name="a2" doxytag="aflibConfig::~aflibConfig"></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"> aflibConfig::~aflibConfig </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor.<p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a5" doxytag="aflibConfig::getBitsPerSample"></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"> INLINE int aflibConfig::getBitsPerSample </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the number of bits per sample.<p>    </td>  </tr></table><a name="a3" doxytag="aflibConfig::getChannels"></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"> INLINE int aflibConfig::getChannels </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the number of channels.<p>    </td>  </tr></table><a name="a12" doxytag="aflibConfig::getDataEndian"></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"> INLINE <a class="el" href="aflib_8h.html#a31">aflib_data_endian</a> aflibConfig::getDataEndian </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the endian of the data.<p>    </td>  </tr></table><a name="a10" doxytag="aflibConfig::getDataOrientation"></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"> INLINE <a class="el" href="aflib_8h.html#a32">aflib_data_orientation</a> aflibConfig::getDataOrientation </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the data orientation.<p>    </td>  </tr></table><a name="a6" doxytag="aflibConfig::getSampleSize"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -