classaflibaudiopitch.html

来自「一个共享源码的音频库5(doc 文档)」· HTML 代码 · 共 201 行

HTML
201
字号
<!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>aflibAudioPitch 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>aflibAudioPitch  Class Reference</h1>Controls the pitch of an audio source. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="aflibAudioPitch_8h-source.html">aflibAudioPitch.h</a>&gt;</code><p><p>Inheritance diagram for aflibAudioPitch:<p><center><img src="classaflibAudioPitch.png" usemap="#aflibAudioPitch_map" border="0"></center><map name="aflibAudioPitch_map"><area href="classaflibAudioSampleRateCvt.html" alt="aflibAudioSampleRateCvt" shape="rect" coords="82,112,236,136"><area href="classaflibAudio.html" alt="aflibAudio" shape="rect" coords="82,56,236,80"><area href="classaflibChain.html" alt="aflibChain" shape="rect" coords="0,0,154,24"><area href="classaflibMemCache.html" alt="aflibMemCache" shape="rect" coords="164,0,318,24"></map><a href="classaflibAudioPitch-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="classaflibAudioPitch.html#a0">aflibAudioPitch</a> (<a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;audio, double factor, bool linear_interpolation=FALSE, bool high_quality=FALSE, bool filter_interpolation=FALSE)</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="classaflibAudioPitch.html#a1">~aflibAudioPitch</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Destructor.</em> <a href="#a1">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="classaflibAudioPitch.html#a2">setInputConfig</a> (const <a class="el" href="classaflibConfig.html">aflibConfig</a> &amp;cfg)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets the input and output sample rates of this class.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="classaflibAudioPitch.html#a3">getName</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Returns the name of the derived class.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Controls the pitch of an audio source.<p>This class is derived from the <a class="el" href="classaflibAudioSampleRateCvt.html">aflibAudioSampleRateCvt</a> class. It only overrides the setInputConfig and getName functions. This is so that it can keep the output and input sample rates the same even thought they are changing. This gives the illusion of pitch changing. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="aflibAudioPitch::aflibAudioPitch"></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"> aflibAudioPitch::aflibAudioPitch </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>audio</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>factor</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>linear_interpolation</em> = FALSE, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>high_quality</em> = FALSE, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>filter_interpolation</em> = FALSE</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.<p>This constructor overides the <a class="el" href="classaflibAudioSampleRateCvt.html">aflibAudioSampleRateCvt</a> base class constructor. It provides the ability to set the quality of the sample rate conversion and the sample rate conversion factor. For more information on these see the documentation for the <a class="el" href="classaflibAudioSampleRateCvt.html">aflibAudioSampleRateCvt</a> constructor.     </td>  </tr></table><a name="a1" doxytag="aflibAudioPitch::~aflibAudioPitch"></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"> aflibAudioPitch::~aflibAudioPitch </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="a3" doxytag="aflibAudioPitch::getName"></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 char* aflibAudioPitch::getName </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, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Returns the name of the derived class.<p><p>Reimplemented from <a class="el" href="classaflibAudioSampleRateCvt.html#a4">aflibAudioSampleRateCvt</a>.    </td>  </tr></table><a name="a2" doxytag="aflibAudioPitch::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 aflibAudioPitch::setInputConfig </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classaflibConfig.html">aflibConfig</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>cfg</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Sets the input and output sample rates of this class.<p>This function overrides the <a class="el" href="classaflibAudioSampleRateCvt.html">aflibAudioSampleRateCvt</a> base class function. It will NOT change the output sample rate in the output audio configuration. By keeping the input and output sample rates the same even thought they are changing this gives the illusion of pitch changing. <p>Reimplemented from <a class="el" href="classaflibAudioSampleRateCvt.html#a3">aflibAudioSampleRateCvt</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="aflibAudioPitch_8h-source.html">aflibAudioPitch.h</a><li><a class="el" href="aflibAudioPitch_8cc.html">aflibAudioPitch.cc</a></ul><hr><address align="right"><small>Generated on Wed May 8 20:51:09 2002 for Open Source Audio Library Project 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.15 </small></address></body></html>

⌨️ 快捷键说明

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