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

📄 classaflibeditclip.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>aflibEditClip 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>aflibEditClip  Class Reference</h1>Data class used by <a class="el" href="classaflibAudioEdit.html">aflibAudioEdit</a>. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="aflibEditClip_8h-source.html">aflibEditClip.h</a>&gt;</code><p><a href="classaflibEditClip-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="classaflibEditClip.html#a0">aflibEditClip</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="classaflibEditClip.html#a1">aflibEditClip</a> (int input, long long start_samples_o, long long stop_samples_o, long long start_samples_i, long long stop_samples_i, double sample_rate_factor)</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="classaflibEditClip.html#a2">~aflibEditClip</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>bool&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a3">operator&lt;</a> (const aflibEditClip &amp;clip) const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Operator to determine what clip is before another in output space.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a4">setInput</a> (int input)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Set the input that a clip uses.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a5">getInput</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get the input that a clip uses.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a6">setStartSamplesOutput</a> (long long start_samples_o)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the start samples location for the output.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>long long&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a7">getStartSamplesOutput</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the start samples location for the output.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a8">setStopSamplesOutput</a> (long long stop_samples_o)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the stop samples location for the output.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>long long&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a9">getStopSamplesOutput</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the stop samples location for the output.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a10">setStartSamplesInput</a> (long long start_samples_i)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the start samples location for the input.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>long long&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a11">getStartSamplesInput</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the start samples location for the input.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a12">setStopSamplesInput</a> (long long stop_samples_i)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the stop samples location for the input.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>long long&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a13">getStopSamplesInput</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the stop samples location for the input.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a14">setSampleRateFactor</a> (double sample_rate_factor)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the sample rate conversion factor.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>double&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a15">getSampleRateFactor</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Gets the sample rate conversion factor.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="classaflibEditClip.html#a16">compare</a> (const aflibEditClip &amp;clip)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Compares two date / time objects.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Data class used by <a class="el" href="classaflibAudioEdit.html">aflibAudioEdit</a>.<p>This stores an audio segment by the start and stop samples for the input and output. It will also compare two objects and determine which one is before the other. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="aflibEditClip::aflibEditClip"></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"> aflibEditClip::aflibEditClip </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="aflibEditClip::aflibEditClip"></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"> aflibEditClip::aflibEditClip </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>input</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>long long&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>start_samples_o</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>long long&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>stop_samples_o</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>long long&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>start_samples_i</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>long long&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>stop_samples_i</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>sample_rate_factor</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="aflibEditClip::~aflibEditClip"></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"> aflibEditClip::~aflibEditClip </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="a16" doxytag="aflibEditClip::compare"></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"> int aflibEditClip::compare </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const aflibEditClip &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>clip</em>          </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>Compares two date / time objects.<p>This function will compare an audio clip with this one. It will return one of three possible values.  -1 : "this" clip is before "clip" clip sequentially.  0 : "this" starts within "clip" clip 1 : "this" clip is after "clip" clip     </td>  </tr></table><a name="a5" doxytag="aflibEditClip::getInput"></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"> int aflibEditClip::getInput </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</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the input that a clip uses.<p>    </td>  </tr></table><a name="a15" doxytag="aflibEditClip::getSampleRateFactor"></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"> double aflibEditClip::getSampleRateFactor </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</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the sample rate conversion factor.<p>    </td>  </tr></table><a name="a11" doxytag="aflibEditClip::getStartSamplesInput"></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"> long long aflibEditClip::getStartSamplesInput </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</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the start samples location for the input.<p>    </td>  </tr></table><a name="a7" doxytag="aflibEditClip::getStartSamplesOutput"></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"> long long aflibEditClip::getStartSamplesOutput </td>

⌨️ 快捷键说明

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