📄 classaflibeditclip.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>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> <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>aflibEditClip Class Reference</h1>Data class used by <a class="el" href="classaflibAudioEdit.html">aflibAudioEdit</a>. <a href="#_details">More...</a><p><code>#include <<a class="el" href="aflibEditClip_8h-source.html">aflibEditClip.h</a>></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> </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a0">aflibEditClip</a> ()</td></tr><tr><td> </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> </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> </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> </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a2">~aflibEditClip</a> ()</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a3">operator<</a> (const aflibEditClip &clip) const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a4">setInput</a> (int input)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a5">getInput</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a6">setStartSamplesOutput</a> (long long start_samples_o)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a7">getStartSamplesOutput</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a8">setStopSamplesOutput</a> (long long stop_samples_o)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a9">getStopSamplesOutput</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a10">setStartSamplesInput</a> (long long start_samples_i)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a11">getStartSamplesInput</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a12">setStopSamplesInput</a> (long long stop_samples_i)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a13">getStopSamplesInput</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a14">setSampleRateFactor</a> (double sample_rate_factor)</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a15">getSampleRateFactor</a> () const</td></tr><tr><td> </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 </td><td valign=bottom><a class="el" href="classaflibEditClip.html#a16">compare</a> (const aflibEditClip &clip)</td></tr><tr><td> </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 & 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">( </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>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">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>input</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>start_samples_o</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>stop_samples_o</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>start_samples_i</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>long long </td> <td class="mdname" nowrap> <em>stop_samples_i</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>sample_rate_factor</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </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>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">( </td> <td class="md" nowrap valign="top">const aflibEditClip & </td> <td class="mdname1" valign="top" nowrap> <em>clip</em> </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>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">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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 + -