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

📄 classaflibaudiobwfilter.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>aflibAudioBWFilter 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>aflibAudioBWFilter  Class Reference</h1>Audio Butterworth filter class. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="aflibAudioBWFilter_8h-source.html">aflibAudioBWFilter.h</a>&gt;</code><p><p>Inheritance diagram for aflibAudioBWFilter:<p><center><img src="classaflibAudioBWFilter.png" usemap="#aflibAudioBWFilter_map" border="0"></center><map name="aflibAudioBWFilter_map"><area href="classaflibAudio.html" alt="aflibAudio" shape="rect" coords="63,56,180,80"><area href="classaflibChain.html" alt="aflibChain" shape="rect" coords="0,0,117,24"><area href="classaflibMemCache.html" alt="aflibMemCache" shape="rect" coords="127,0,244,24"></map><a href="classaflibAudioBWFilter-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Types</h2></td></tr><tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classaflibAudioBWFilter.html#s4">AFLIB_BWFILTER_MODE</a> { <a class="el" href="classaflibAudioBWFilter.html#s4s0">LOW_PASS</a>, <a class="el" href="classaflibAudioBWFilter.html#s4s1">HIGH_PASS</a>, <a class="el" href="classaflibAudioBWFilter.html#s4s2">BAND_PASS</a>, <a class="el" href="classaflibAudioBWFilter.html#s4s3">BAND_REJECT</a> }</td></tr><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="classaflibAudioBWFilter.html#a0">aflibAudioBWFilter</a> (<a class="el" href="classaflibAudio.html">aflibAudio</a> &amp;audio, <a class="el" href="classaflibAudioBWFilter.html#s4">aflibAudioBWFilter::AFLIB_BWFILTER_MODE</a> mode, double freq, double bw)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Constuctor with an audio parent.</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="classaflibAudioBWFilter.html#a1">~aflibAudioBWFilter</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="classaflibAudioBWFilter.html#a2">setParameters</a> (<a class="el" href="classaflibAudioBWFilter.html#s4">aflibAudioBWFilter::AFLIB_BWFILTER_MODE</a> mode, double freq, double bw)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Sets parameters for the butterworth filter class.</em> <a href="#a2">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="classaflibAudioBWFilter.html#a3">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 audio data configuration of an object.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a class="el" href="aflib_8h.html#a33">aflibStatus</a>&nbsp;</td><td valign=bottom><a class="el" href="classaflibAudioBWFilter.html#a4">compute_segment</a> (list&lt; <a class="el" href="classaflibData.html">aflibData</a> * &gt; &amp;data, long long position=-1)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Work function, must be implemented by derived class.</em> <a href="#a4">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="classaflibAudioBWFilter.html#a5">getName</a> () const</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Returns the name of the derived class.</em> <a href="#a5">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="classaflibAudioBWFilter.html#a6">isDataSizeSupported</a> (<a class="el" href="aflib_8h.html#a30">aflib_data_size</a> size)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Inform base class that this object only supports 16bit signed data.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Audio Butterworth filter class.<p>This class provides support for band pass, band reject, low pass, and high pass filters using Butterworth filters. <p><hr><h2>Member Enumeration Documentation</h2><a name="s4" doxytag="aflibAudioBWFilter::AFLIB_BWFILTER_MODE"></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"> enum aflibAudioBWFilter::AFLIB_BWFILTER_MODE      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Enumeration values:</b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="s4s0" doxytag="LOW_PASS"></a><em>LOW_PASS</em></em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a name="s4s1" doxytag="HIGH_PASS"></a><em>HIGH_PASS</em></em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a name="s4s2" doxytag="BAND_PASS"></a><em>BAND_PASS</em></em>&nbsp;</td><td></td></tr><tr><td valign=top><em><a name="s4s3" doxytag="BAND_REJECT"></a><em>BAND_REJECT</em></em>&nbsp;</td><td></td></tr></table></dl>    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="aflibAudioBWFilter::aflibAudioBWFilter"></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"> aflibAudioBWFilter::aflibAudioBWFilter </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><a class="el" href="classaflibAudioBWFilter.html#s4">aflibAudioBWFilter::AFLIB_BWFILTER_MODE</a>&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>mode</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>freq</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>bw</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>Constuctor with an audio parent.<p>This constructor will setup the Butterworth filter. It accepts a mode which can be one of LOW_PASS, HIGH_PASS, BAND_PASS, and BAND_REJECT. The freq parameter applies to all 4 modes while bw is ignored for  LOW_PASS and HIGH_PASS. The freq parameter represents the corner frequency for LOW_PASS or HIGH_PASS and the center frequency for BAND_PASS or BAND_REJECT. The bw parameter represents the bandwidth. Both freq and bw should be specified in Hertz.     </td>  </tr></table><a name="a1" doxytag="aflibAudioBWFilter::~aflibAudioBWFilter"></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"> aflibAudioBWFilter::~aflibAudioBWFilter </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="a4" doxytag="aflibAudioBWFilter::compute_segment"></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"> <a class="el" href="aflib_8h.html#a33">aflibStatus</a> aflibAudioBWFilter::compute_segment </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">list&lt; <a class="el" href="classaflibData.html">aflibData</a> * &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>

⌨️ 快捷键说明

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