annotate code-docs/classVamp_1_1HostExt_1_1PluginChannelAdapter.html @ 3:5c2683745b33 vamp-plugin-sdk-v2.4

Update for 2.4
author Chris Cannam
date Fri, 13 Jul 2012 13:30:27 +0100
parents 3c430ef1ed66
children 27319718b1f8
rev   line source
Chris@1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Chris@1 2 <html xmlns="http://www.w3.org/1999/xhtml">
Chris@1 3 <head>
Chris@1 4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
Chris@3 5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
Chris@1 6 <title>VampPluginSDK: Vamp::HostExt::PluginChannelAdapter Class Reference</title>
Chris@1 7
Chris@1 8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
Chris@1 9 <link href="doxygen.css" rel="stylesheet" type="text/css" />
Chris@1 10 <link href="navtree.css" rel="stylesheet" type="text/css"/>
Chris@1 11 <script type="text/javascript" src="jquery.js"></script>
Chris@1 12 <script type="text/javascript" src="resize.js"></script>
Chris@1 13 <script type="text/javascript" src="navtree.js"></script>
Chris@1 14 <script type="text/javascript">
Chris@1 15 $(document).ready(initResizable);
Chris@1 16 </script>
Chris@1 17
Chris@1 18
Chris@1 19 </head>
Chris@1 20 <body>
Chris@1 21 <div id="top"><!-- do not remove this div! -->
Chris@1 22
Chris@1 23
Chris@1 24 <div id="titlearea">
Chris@1 25 <table cellspacing="0" cellpadding="0">
Chris@1 26 <tbody>
Chris@1 27 <tr style="height: 56px;">
Chris@1 28
Chris@1 29
Chris@1 30 <td style="padding-left: 0.5em;">
Chris@1 31 <div id="projectname">VampPluginSDK
Chris@3 32 &#160;<span id="projectnumber">2.4</span>
Chris@1 33 </div>
Chris@1 34
Chris@1 35 </td>
Chris@1 36
Chris@1 37
Chris@1 38
Chris@1 39 </tr>
Chris@1 40 </tbody>
Chris@1 41 </table>
Chris@1 42 </div>
Chris@1 43
Chris@3 44 <!-- Generated by Doxygen 1.8.0 -->
Chris@1 45 <div id="navrow1" class="tabs">
Chris@1 46 <ul class="tablist">
Chris@1 47 <li><a href="index.html"><span>Main&#160;Page</span></a></li>
Chris@1 48 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
Chris@1 49 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
Chris@1 50 <li><a href="files.html"><span>Files</span></a></li>
Chris@1 51 <li><a href="dirs.html"><span>Directories</span></a></li>
Chris@1 52 </ul>
Chris@1 53 </div>
Chris@1 54 <div id="navrow2" class="tabs2">
Chris@1 55 <ul class="tablist">
Chris@1 56 <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
Chris@1 57 <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
Chris@1 58 <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
Chris@1 59 </ul>
Chris@1 60 </div>
Chris@1 61 </div>
Chris@1 62 <div id="side-nav" class="ui-resizable side-nav-resizable">
Chris@1 63 <div id="nav-tree">
Chris@1 64 <div id="nav-tree-contents">
Chris@1 65 </div>
Chris@1 66 </div>
Chris@1 67 <div id="splitbar" style="-moz-user-select:none;"
Chris@1 68 class="ui-resizable-handle">
Chris@1 69 </div>
Chris@1 70 </div>
Chris@1 71 <script type="text/javascript">
Chris@1 72 initNavTree('classVamp_1_1HostExt_1_1PluginChannelAdapter.html','');
Chris@1 73 </script>
Chris@1 74 <div id="doc-content">
Chris@1 75 <div class="header">
Chris@1 76 <div class="summary">
Chris@1 77 <a href="#pub-types">Public Types</a> &#124;
Chris@1 78 <a href="#pub-methods">Public Member Functions</a> &#124;
Chris@1 79 <a href="#pro-attribs">Protected Attributes</a> </div>
Chris@1 80 <div class="headertitle">
Chris@1 81 <div class="title">Vamp::HostExt::PluginChannelAdapter Class Reference</div> </div>
Chris@3 82 </div><!--header-->
Chris@1 83 <div class="contents">
Chris@3 84
Chris@1 85 <p><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> is a <a class="el" href="namespaceVamp.html">Vamp</a> plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data.
Chris@1 86 <a href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#details">More...</a></p>
Chris@1 87
Chris@1 88 <p><code>#include &lt;<a class="el" href="PluginChannelAdapter_8h_source.html">vamp-hostsdk/PluginChannelAdapter.h</a>&gt;</code></p>
Chris@1 89 <div class="dynheader">
Chris@1 90 Inheritance diagram for Vamp::HostExt::PluginChannelAdapter:</div>
Chris@1 91 <div class="dyncontent">
Chris@1 92 <div class="center"><img src="classVamp_1_1HostExt_1_1PluginChannelAdapter__inherit__graph.png" border="0" usemap="#Vamp_1_1HostExt_1_1PluginChannelAdapter_inherit__map" alt="Inheritance graph"/></div>
Chris@1 93 <map name="Vamp_1_1HostExt_1_1PluginChannelAdapter_inherit__map" id="Vamp_1_1HostExt_1_1PluginChannelAdapter_inherit__map">
Chris@1 94 <area shape="rect" id="node2" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins." alt="" coords="27,155,211,181"/><area shape="rect" id="node4" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o..." alt="" coords="73,81,164,106"/><area shape="rect" id="node6" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="59,6,177,31"/></map>
Chris@1 95 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 96
Chris@1 97 <p><a href="classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html">List of all members.</a></p>
Chris@1 98 <table class="memberdecls">
Chris@1 99 <tr><td colspan="2"><h2><a name="pub-types"></a>
Chris@1 100 Public Types</h2></td></tr>
Chris@3 101 <tr class="memitem:a39cb7649d6dcc20e4cb1640cd55907bc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> { <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff">TimeDomain</a>,
Chris@1 102 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 103 }</td></tr>
Chris@3 104 <tr class="memitem:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 105 &lt; <a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a></td></tr>
Chris@3 106 <tr class="memitem:a0730bc72c87fa02eb8d2854b233f7be1"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a></td></tr>
Chris@3 107 <tr class="memitem:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <br class="typebreak"/>
Chris@1 108 <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a></td></tr>
Chris@3 109 <tr class="memitem:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memItemLeft" align="right" valign="top">typedef std::vector<br class="typebreak"/>
Chris@1 110 &lt; <a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a></td></tr>
Chris@3 111 <tr class="memitem:a7f66f00437b21e5f694fe02356b12f20"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a></td></tr>
Chris@1 112 <tr><td colspan="2"><h2><a name="pub-methods"></a>
Chris@1 113 Public Member Functions</h2></td></tr>
Chris@3 114 <tr class="memitem:a2cda2b672708264f9a33c43bad3acdd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a2cda2b672708264f9a33c43bad3acdd8">PluginChannelAdapter</a> (<a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *plugin)</td></tr>
Chris@3 115 <tr class="memdesc:a2cda2b672708264f9a33c43bad3acdd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> wrapping the given plugin. <a href="#a2cda2b672708264f9a33c43bad3acdd8"></a><br/></td></tr>
Chris@3 116 <tr class="memitem:acb9a20fefd130e323b1eb2ced43e521c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#acb9a20fefd130e323b1eb2ced43e521c">~PluginChannelAdapter</a> ()</td></tr>
Chris@3 117 <tr class="memitem:ade0473c8fc54636431967cbf41649c1c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ade0473c8fc54636431967cbf41649c1c">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
Chris@3 118 <tr class="memdesc:ade0473c8fc54636431967cbf41649c1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames). <a href="#ade0473c8fc54636431967cbf41649c1c"></a><br/></td></tr>
Chris@3 119 <tr class="memitem:a6ff37bf754ff8711dbcb2f020fa3902c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr>
Chris@3 120 <tr class="memdesc:a6ff37bf754ff8711dbcb2f020fa3902c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a6ff37bf754ff8711dbcb2f020fa3902c"></a><br/></td></tr>
Chris@3 121 <tr class="memitem:a5c94c3eb1dbc8899fe58527bbb7bb61f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a5c94c3eb1dbc8899fe58527bbb7bb61f">processInterleaved</a> (const float *inputBuffer, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr>
Chris@3 122 <tr class="memdesc:a5c94c3eb1dbc8899fe58527bbb7bb61f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data.">process()</a>, providing interleaved audio data with the number of channels passed to <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ade0473c8fc54636431967cbf41649c1c" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>. <a href="#a5c94c3eb1dbc8899fe58527bbb7bb61f"></a><br/></td></tr>
Chris@3 123 <tr class="memitem:ad19cc0614ba41cdc26ef3394c5146fe6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ad19cc0614ba41cdc26ef3394c5146fe6">reset</a> ()</td></tr>
Chris@3 124 <tr class="memdesc:ad19cc0614ba41cdc26ef3394c5146fe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#ad19cc0614ba41cdc26ef3394c5146fe6"></a><br/></td></tr>
Chris@3 125 <tr class="memitem:ae203faf8384c9e1fddc381409aa8a214"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae203faf8384c9e1fddc381409aa8a214">getInputDomain</a> () const </td></tr>
Chris@3 126 <tr class="memdesc:ae203faf8384c9e1fddc381409aa8a214"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#ae203faf8384c9e1fddc381409aa8a214"></a><br/></td></tr>
Chris@3 127 <tr class="memitem:a74147fda6b44ff2169bd4a1eea0d46ff"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a74147fda6b44ff2169bd4a1eea0d46ff">getVampApiVersion</a> () const </td></tr>
Chris@3 128 <tr class="memdesc:a74147fda6b44ff2169bd4a1eea0d46ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. <a href="#a74147fda6b44ff2169bd4a1eea0d46ff"></a><br/></td></tr>
Chris@3 129 <tr class="memitem:a4baa9e48f717c2b3e7f92496aa39d904"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a4baa9e48f717c2b3e7f92496aa39d904">getIdentifier</a> () const </td></tr>
Chris@3 130 <tr class="memdesc:a4baa9e48f717c2b3e7f92496aa39d904"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#a4baa9e48f717c2b3e7f92496aa39d904"></a><br/></td></tr>
Chris@3 131 <tr class="memitem:ac70a3265bb25aeb03f6dd8f8a0442088"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac70a3265bb25aeb03f6dd8f8a0442088">getName</a> () const </td></tr>
Chris@3 132 <tr class="memdesc:ac70a3265bb25aeb03f6dd8f8a0442088"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#ac70a3265bb25aeb03f6dd8f8a0442088"></a><br/></td></tr>
Chris@3 133 <tr class="memitem:ac334f699c0996055942785410d8a065c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac334f699c0996055942785410d8a065c">getDescription</a> () const </td></tr>
Chris@3 134 <tr class="memdesc:ac334f699c0996055942785410d8a065c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable description for the plugin, typically a line of text that may optionally be displayed in addition to the plugin's "name". <a href="#ac334f699c0996055942785410d8a065c"></a><br/></td></tr>
Chris@3 135 <tr class="memitem:a59d5a2298951b317995675e664b1c7bb"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a59d5a2298951b317995675e664b1c7bb">getMaker</a> () const </td></tr>
Chris@3 136 <tr class="memdesc:a59d5a2298951b317995675e664b1c7bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the author or vendor of the plugin in human-readable form. <a href="#a59d5a2298951b317995675e664b1c7bb"></a><br/></td></tr>
Chris@3 137 <tr class="memitem:a47e1acf1696813008324a915c9ba59c5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a47e1acf1696813008324a915c9ba59c5">getPluginVersion</a> () const </td></tr>
Chris@3 138 <tr class="memdesc:a47e1acf1696813008324a915c9ba59c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a47e1acf1696813008324a915c9ba59c5"></a><br/></td></tr>
Chris@3 139 <tr class="memitem:ae14f6ecb78be909c4cd5f0cdaed3c566"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae14f6ecb78be909c4cd5f0cdaed3c566">getCopyright</a> () const </td></tr>
Chris@3 140 <tr class="memdesc:ae14f6ecb78be909c4cd5f0cdaed3c566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#ae14f6ecb78be909c4cd5f0cdaed3c566"></a><br/></td></tr>
Chris@3 141 <tr class="memitem:a9be71561265c2e6e43b7feaddaa91f36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a9be71561265c2e6e43b7feaddaa91f36">getParameterDescriptors</a> () const </td></tr>
Chris@3 142 <tr class="memdesc:a9be71561265c2e6e43b7feaddaa91f36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#a9be71561265c2e6e43b7feaddaa91f36"></a><br/></td></tr>
Chris@3 143 <tr class="memitem:a034920f56c8d7609a85447c42556048c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a034920f56c8d7609a85447c42556048c">getParameter</a> (std::string) const </td></tr>
Chris@3 144 <tr class="memdesc:a034920f56c8d7609a85447c42556048c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#a034920f56c8d7609a85447c42556048c"></a><br/></td></tr>
Chris@3 145 <tr class="memitem:a651b15a5dc4c27942ac0c87c6092bfe5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a651b15a5dc4c27942ac0c87c6092bfe5">setParameter</a> (std::string, float)</td></tr>
Chris@3 146 <tr class="memdesc:a651b15a5dc4c27942ac0c87c6092bfe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#a651b15a5dc4c27942ac0c87c6092bfe5"></a><br/></td></tr>
Chris@3 147 <tr class="memitem:a131fbe1df81215020b9aa8cecef4c802"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a131fbe1df81215020b9aa8cecef4c802">getPrograms</a> () const </td></tr>
Chris@3 148 <tr class="memdesc:a131fbe1df81215020b9aa8cecef4c802"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#a131fbe1df81215020b9aa8cecef4c802"></a><br/></td></tr>
Chris@3 149 <tr class="memitem:a7a312dd42d161064b70afd7ff24c0651"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a7a312dd42d161064b70afd7ff24c0651">getCurrentProgram</a> () const </td></tr>
Chris@3 150 <tr class="memdesc:a7a312dd42d161064b70afd7ff24c0651"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#a7a312dd42d161064b70afd7ff24c0651"></a><br/></td></tr>
Chris@3 151 <tr class="memitem:a074978333a74fdcf336a8a1d8ea20abf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a074978333a74fdcf336a8a1d8ea20abf">selectProgram</a> (std::string)</td></tr>
Chris@3 152 <tr class="memdesc:a074978333a74fdcf336a8a1d8ea20abf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#a074978333a74fdcf336a8a1d8ea20abf"></a><br/></td></tr>
Chris@3 153 <tr class="memitem:a0137d93d7019bacc31104836fb4d352e"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a0137d93d7019bacc31104836fb4d352e">getPreferredStepSize</a> () const </td></tr>
Chris@3 154 <tr class="memdesc:a0137d93d7019bacc31104836fb4d352e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#a0137d93d7019bacc31104836fb4d352e"></a><br/></td></tr>
Chris@3 155 <tr class="memitem:a2c62a656313a819650656643a867ad01"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2c62a656313a819650656643a867ad01">getPreferredBlockSize</a> () const </td></tr>
Chris@3 156 <tr class="memdesc:a2c62a656313a819650656643a867ad01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function). <a href="#a2c62a656313a819650656643a867ad01"></a><br/></td></tr>
Chris@3 157 <tr class="memitem:a2b28f1cf37d46a514f1e1411a6037bf8"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2b28f1cf37d46a514f1e1411a6037bf8">getMinChannelCount</a> () const </td></tr>
Chris@3 158 <tr class="memdesc:a2b28f1cf37d46a514f1e1411a6037bf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#a2b28f1cf37d46a514f1e1411a6037bf8"></a><br/></td></tr>
Chris@3 159 <tr class="memitem:a985eb21f1827bfbc3950d6871b107a58"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a985eb21f1827bfbc3950d6871b107a58">getMaxChannelCount</a> () const </td></tr>
Chris@3 160 <tr class="memdesc:a985eb21f1827bfbc3950d6871b107a58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#a985eb21f1827bfbc3950d6871b107a58"></a><br/></td></tr>
Chris@3 161 <tr class="memitem:a5a9411305f713b4c9827844b89acd270"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a9411305f713b4c9827844b89acd270">getOutputDescriptors</a> () const </td></tr>
Chris@3 162 <tr class="memdesc:a5a9411305f713b4c9827844b89acd270"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#a5a9411305f713b4c9827844b89acd270"></a><br/></td></tr>
Chris@3 163 <tr class="memitem:a2bc8c0992e64f06991fb7cf89f99857e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2bc8c0992e64f06991fb7cf89f99857e">getRemainingFeatures</a> ()</td></tr>
Chris@3 164 <tr class="memdesc:a2bc8c0992e64f06991fb7cf89f99857e"><td class="mdescLeft">&#160;</td><td class="mdescRight">After all blocks have been processed, calculate and return any remaining features derived from the complete input. <a href="#a2bc8c0992e64f06991fb7cf89f99857e"></a><br/></td></tr>
Chris@3 165 <tr class="memitem:a653d0308e8e34881a8749b7631d00f05"><td class="memTemplParams" colspan="2">template&lt;typename WrapperType &gt; </td></tr>
Chris@3 166 <tr class="memitem:a653d0308e8e34881a8749b7631d00f05"><td class="memTemplItemLeft" align="right" valign="top">WrapperType *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a653d0308e8e34881a8749b7631d00f05">getWrapper</a> ()</td></tr>
Chris@3 167 <tr class="memdesc:a653d0308e8e34881a8749b7631d00f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present. <a href="#a653d0308e8e34881a8749b7631d00f05"></a><br/></td></tr>
Chris@3 168 <tr class="memitem:abe13b3997a69fbcc09e2213faa352f91"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#abe13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr>
Chris@3 169 <tr class="memdesc:abe13b3997a69fbcc09e2213faa352f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. <a href="#abe13b3997a69fbcc09e2213faa352f91"></a><br/></td></tr>
Chris@1 170 <tr><td colspan="2"><h2><a name="pro-attribs"></a>
Chris@1 171 Protected Attributes</h2></td></tr>
Chris@3 172 <tr class="memitem:ae3a74a2e6c4cd33dce9f4248e73c6701"><td class="memItemLeft" align="right" valign="top">Impl *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ae3a74a2e6c4cd33dce9f4248e73c6701">m_impl</a></td></tr>
Chris@3 173 <tr class="memitem:ab4e40ecd98b445e1a2aa9e7baa280ea2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ab4e40ecd98b445e1a2aa9e7baa280ea2">m_plugin</a></td></tr>
Chris@3 174 <tr class="memitem:a59b9dd82a4f4eb946cd0474cc81abc23"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">m_inputSampleRate</a></td></tr>
Chris@1 175 </table>
Chris@1 176 <hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
Chris@1 177 <div class="textblock"><p><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> is a <a class="el" href="namespaceVamp.html">Vamp</a> plugin adapter that implements a policy for management of plugins that expect a different number of input channels from the number actually available in the source audio data. </p>
Chris@1 178 <p>A host using <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> may ignore the getMinChannelCount and getMaxChannelCount reported by the plugin, and still expect the plugin to run.</p>
Chris@1 179 <p><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> implements the following policy:</p>
Chris@1 180 <ul>
Chris@1 181 <li>If the plugin supports the provided number of channels directly, <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> will just run the plugin as normal.</li>
Chris@1 182 </ul>
Chris@1 183 <ul>
Chris@1 184 <li>If the plugin only supports exactly one channel but more than one channel is provided, <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> will use the mean of the channels. This ensures that the resulting values remain within the same magnitude range as expected for mono data.</li>
Chris@1 185 </ul>
Chris@1 186 <ul>
Chris@1 187 <li>If the plugin requires more than one channel but exactly one is provided, the provided channel will be duplicated across all the plugin input channels.</li>
Chris@1 188 </ul>
Chris@1 189 <p>If none of the above apply:</p>
Chris@1 190 <ul>
Chris@1 191 <li>If the plugin requires more channels than are provided, the minimum acceptable number of channels will be produced by adding empty (zero valued) channels to those provided.</li>
Chris@1 192 </ul>
Chris@1 193 <ul>
Chris@1 194 <li>If the plugin requires fewer channels than are provided, the maximum acceptable number of channels will be produced by discarding the excess channels.</li>
Chris@1 195 </ul>
Chris@1 196 <p>Hosts requiring a different channel policy from the above will need to implement it themselves, instead of using <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a>.</p>
Chris@1 197 <p>Note that <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> does not override the minimum and maximum channel counts returned by the wrapped plugin. The host will need to be aware that it is using a <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a>, and be prepared to ignore these counts as necessary. (This contrasts with the approach used in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html" title="PluginInputDomainAdapter is a Vamp plugin adapter that converts time-domain input into frequency-doma...">PluginInputDomainAdapter</a>, which aims to make the host completely unaware of which underlying input domain is in fact in use.)</p>
Chris@1 198 <p>(The rationale for this is that a host may wish to use the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> but still discriminate in some way on the basis of the number of channels actually supported. For example, a simple stereo audio host may prefer to reject plugins that require more than two channels on the grounds that doesn't actually understand what they are for, rather than allow the channel adapter to make a potentially meaningless channel conversion for them.)</p>
Chris@1 199 <p>In every respect other than its management of channels, the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> behaves identically to the plugin that it wraps. The wrapped plugin will be deleted when the wrapper is deleted.</p>
Chris@3 200 <dl class="section note"><dt>Note:</dt><dd>This class was introduced in version 1.1 of the <a class="el" href="namespaceVamp.html">Vamp</a> plugin SDK. </dd></dl>
Chris@1 201
Chris@1 202 <p>Definition at line <a class="el" href="PluginChannelAdapter_8h_source.html#l00112">112</a> of file <a class="el" href="PluginChannelAdapter_8h_source.html">PluginChannelAdapter.h</a>.</p>
Chris@1 203 </div><hr/><h2>Member Typedef Documentation</h2>
Chris@3 204 <a class="anchor" id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a>
Chris@1 205 <div class="memitem">
Chris@1 206 <div class="memproto">
Chris@1 207 <table class="memname">
Chris@1 208 <tr>
Chris@1 209 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">Vamp::Plugin::OutputList</a><code> [inherited]</code></td>
Chris@1 210 </tr>
Chris@1 211 </table>
Chris@1 212 </div>
Chris@1 213 <div class="memdoc">
Chris@1 214
Chris@1 215 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00327">327</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 216
Chris@1 217 </div>
Chris@1 218 </div>
Chris@3 219 <a class="anchor" id="a0730bc72c87fa02eb8d2854b233f7be1"></a>
Chris@1 220 <div class="memitem">
Chris@1 221 <div class="memproto">
Chris@1 222 <table class="memname">
Chris@1 223 <tr>
Chris@1 224 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">Vamp::Plugin::FeatureList</a><code> [inherited]</code></td>
Chris@1 225 </tr>
Chris@1 226 </table>
Chris@1 227 </div>
Chris@1 228 <div class="memdoc">
Chris@1 229
Chris@1 230 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00385">385</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 231
Chris@1 232 </div>
Chris@1 233 </div>
Chris@3 234 <a class="anchor" id="a448fb57dc245d47923ec9eeaf9856c5f"></a>
Chris@1 235 <div class="memitem">
Chris@1 236 <div class="memproto">
Chris@1 237 <table class="memname">
Chris@1 238 <tr>
Chris@1 239 <td class="memname">typedef std::map&lt;int, <a class="el" href="classVamp_1_1Plugin.html#a0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a>&gt; <a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">Vamp::Plugin::FeatureSet</a><code> [inherited]</code></td>
Chris@1 240 </tr>
Chris@1 241 </table>
Chris@1 242 </div>
Chris@1 243 <div class="memdoc">
Chris@1 244
Chris@1 245 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00387">387</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 246
Chris@1 247 </div>
Chris@1 248 </div>
Chris@3 249 <a class="anchor" id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a>
Chris@1 250 <div class="memitem">
Chris@1 251 <div class="memproto">
Chris@1 252 <table class="memname">
Chris@1 253 <tr>
Chris@1 254 <td class="memname">typedef std::vector&lt;<a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a>&gt; <a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">Vamp::PluginBase::ParameterList</a><code> [inherited]</code></td>
Chris@1 255 </tr>
Chris@1 256 </table>
Chris@1 257 </div>
Chris@1 258 <div class="memdoc">
Chris@1 259
Chris@3 260 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00199">199</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 261
Chris@1 262 </div>
Chris@1 263 </div>
Chris@3 264 <a class="anchor" id="a7f66f00437b21e5f694fe02356b12f20"></a>
Chris@1 265 <div class="memitem">
Chris@1 266 <div class="memproto">
Chris@1 267 <table class="memname">
Chris@1 268 <tr>
Chris@1 269 <td class="memname">typedef std::vector&lt;std::string&gt; <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a><code> [inherited]</code></td>
Chris@1 270 </tr>
Chris@1 271 </table>
Chris@1 272 </div>
Chris@1 273 <div class="memdoc">
Chris@1 274
Chris@3 275 <p>Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00221">221</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@1 276
Chris@1 277 </div>
Chris@1 278 </div>
Chris@1 279 <hr/><h2>Member Enumeration Documentation</h2>
Chris@3 280 <a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bc"></a>
Chris@1 281 <div class="memitem">
Chris@1 282 <div class="memproto">
Chris@1 283 <table class="memname">
Chris@1 284 <tr>
Chris@1 285 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code></td>
Chris@1 286 </tr>
Chris@1 287 </table>
Chris@1 288 </div>
Chris@1 289 <div class="memdoc">
Chris@1 290 <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
Chris@3 291 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff"></a>TimeDomain</em>&nbsp;</td><td>
Chris@1 292 </td></tr>
Chris@3 293 <tr><td valign="top"><em><a class="anchor" id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a>FrequencyDomain</em>&nbsp;</td><td>
Chris@1 294 </td></tr>
Chris@1 295 </table>
Chris@1 296 </dd>
Chris@1 297 </dl>
Chris@1 298
Chris@1 299 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00152">152</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 300
Chris@1 301 </div>
Chris@1 302 </div>
Chris@1 303 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
Chris@3 304 <a class="anchor" id="a2cda2b672708264f9a33c43bad3acdd8"></a>
Chris@1 305 <div class="memitem">
Chris@1 306 <div class="memproto">
Chris@1 307 <table class="memname">
Chris@1 308 <tr>
Chris@3 309 <td class="memname"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a2cda2b672708264f9a33c43bad3acdd8">Vamp::HostExt::PluginChannelAdapter::PluginChannelAdapter</a> </td>
Chris@1 310 <td>(</td>
Chris@1 311 <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *&#160;</td>
Chris@1 312 <td class="paramname"><em>plugin</em></td><td>)</td>
Chris@1 313 <td></td>
Chris@1 314 </tr>
Chris@1 315 </table>
Chris@1 316 </div>
Chris@1 317 <div class="memdoc">
Chris@1 318
Chris@1 319 <p>Construct a <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html" title="PluginChannelAdapter is a Vamp plugin adapter that implements a policy for management of plugins that...">PluginChannelAdapter</a> wrapping the given plugin. </p>
Chris@1 320 <p>The adapter takes ownership of the plugin, which will be deleted when the adapter is deleted. </p>
Chris@1 321
Chris@1 322 </div>
Chris@1 323 </div>
Chris@3 324 <a class="anchor" id="acb9a20fefd130e323b1eb2ced43e521c"></a>
Chris@1 325 <div class="memitem">
Chris@1 326 <div class="memproto">
Chris@1 327 <table class="memname">
Chris@1 328 <tr>
Chris@3 329 <td class="memname">virtual <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#acb9a20fefd130e323b1eb2ced43e521c">Vamp::HostExt::PluginChannelAdapter::~PluginChannelAdapter</a> </td>
Chris@1 330 <td>(</td>
Chris@1 331 <td class="paramname"></td><td>)</td>
Chris@1 332 <td><code> [virtual]</code></td>
Chris@1 333 </tr>
Chris@1 334 </table>
Chris@1 335 </div>
Chris@1 336 <div class="memdoc">
Chris@1 337
Chris@1 338 </div>
Chris@1 339 </div>
Chris@1 340 <hr/><h2>Member Function Documentation</h2>
Chris@3 341 <a class="anchor" id="ade0473c8fc54636431967cbf41649c1c"></a>
Chris@1 342 <div class="memitem">
Chris@1 343 <div class="memproto">
Chris@1 344 <table class="memname">
Chris@1 345 <tr>
Chris@3 346 <td class="memname">bool <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ade0473c8fc54636431967cbf41649c1c">Vamp::HostExt::PluginChannelAdapter::initialise</a> </td>
Chris@1 347 <td>(</td>
Chris@1 348 <td class="paramtype">size_t&#160;</td>
Chris@1 349 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 350 </tr>
Chris@1 351 <tr>
Chris@1 352 <td class="paramkey"></td>
Chris@1 353 <td></td>
Chris@1 354 <td class="paramtype">size_t&#160;</td>
Chris@1 355 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 356 </tr>
Chris@1 357 <tr>
Chris@1 358 <td class="paramkey"></td>
Chris@1 359 <td></td>
Chris@1 360 <td class="paramtype">size_t&#160;</td>
Chris@1 361 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 362 </tr>
Chris@1 363 <tr>
Chris@1 364 <td></td>
Chris@1 365 <td>)</td>
Chris@1 366 <td></td><td><code> [virtual]</code></td>
Chris@1 367 </tr>
Chris@1 368 </table>
Chris@1 369 </div>
Chris@1 370 <div class="memdoc">
Chris@1 371
Chris@1 372 <p>Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames). </p>
Chris@1 373 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 374 <p>Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported. </p>
Chris@1 375
Chris@1 376 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 377
Chris@1 378 </div>
Chris@1 379 </div>
Chris@3 380 <a class="anchor" id="a6ff37bf754ff8711dbcb2f020fa3902c"></a>
Chris@1 381 <div class="memitem">
Chris@1 382 <div class="memproto">
Chris@1 383 <table class="memname">
Chris@1 384 <tr>
Chris@3 385 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c">Vamp::HostExt::PluginChannelAdapter::process</a> </td>
Chris@1 386 <td>(</td>
Chris@1 387 <td class="paramtype">const float *const *&#160;</td>
Chris@1 388 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 389 </tr>
Chris@1 390 <tr>
Chris@1 391 <td class="paramkey"></td>
Chris@1 392 <td></td>
Chris@1 393 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 394 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 395 </tr>
Chris@1 396 <tr>
Chris@1 397 <td></td>
Chris@1 398 <td>)</td>
Chris@1 399 <td></td><td><code> [virtual]</code></td>
Chris@1 400 </tr>
Chris@1 401 </table>
Chris@1 402 </div>
Chris@1 403 <div class="memdoc">
Chris@1 404
Chris@1 405 <p>Process a single block of input data. </p>
Chris@1 406 <p>If the plugin's inputDomain is TimeDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize consecutive audio samples (the host will zero-pad as necessary). The timestamp in this case will be the real time in seconds of the start of the supplied block of samples.</p>
Chris@3 407 <p>If the plugin's inputDomain is FrequencyDomain, inputBuffers will point to one array of floats per input channel, and each of these arrays will contain blockSize/2+1 consecutive pairs of real and imaginary component floats corresponding to bins 0..(blockSize/2) of the <a class="el" href="classVamp_1_1FFT.html" title="A simple FFT implementation provided for convenience of plugin authors.">FFT</a> output. That is, bin 0 (the first pair of floats) contains the DC output, up to bin blockSize/2 which contains the Nyquist-frequency output. There will therefore be blockSize+2 floats per channel in total. The timestamp will be the real time in seconds of the centre of the <a class="el" href="classVamp_1_1FFT.html" title="A simple FFT implementation provided for convenience of plugin authors.">FFT</a> input window (i.e. the very first block passed to process might contain the <a class="el" href="classVamp_1_1FFT.html" title="A simple FFT implementation provided for convenience of plugin authors.">FFT</a> of half a block of zero samples and the first half-block of the actual data, with a timestamp of zero).</p>
Chris@1 408 <p>Return any features that have become available after this process call. (These do not necessarily have to fall within the process block, except for OneSamplePerStep outputs.) </p>
Chris@1 409
Chris@1 410 <p>Reimplemented from <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf">Vamp::HostExt::PluginWrapper</a>.</p>
Chris@1 411
Chris@1 412 </div>
Chris@1 413 </div>
Chris@3 414 <a class="anchor" id="a5c94c3eb1dbc8899fe58527bbb7bb61f"></a>
Chris@1 415 <div class="memitem">
Chris@1 416 <div class="memproto">
Chris@1 417 <table class="memname">
Chris@1 418 <tr>
Chris@3 419 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a5c94c3eb1dbc8899fe58527bbb7bb61f">Vamp::HostExt::PluginChannelAdapter::processInterleaved</a> </td>
Chris@1 420 <td>(</td>
Chris@1 421 <td class="paramtype">const float *&#160;</td>
Chris@1 422 <td class="paramname"><em>inputBuffer</em>, </td>
Chris@1 423 </tr>
Chris@1 424 <tr>
Chris@1 425 <td class="paramkey"></td>
Chris@1 426 <td></td>
Chris@1 427 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 428 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 429 </tr>
Chris@1 430 <tr>
Chris@1 431 <td></td>
Chris@1 432 <td>)</td>
Chris@1 433 <td></td><td></td>
Chris@1 434 </tr>
Chris@1 435 </table>
Chris@1 436 </div>
Chris@1 437 <div class="memdoc">
Chris@1 438
Chris@1 439 <p>Call <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data.">process()</a>, providing interleaved audio data with the number of channels passed to <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ade0473c8fc54636431967cbf41649c1c" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>. </p>
Chris@1 440 <p>The adapter will de-interleave into temporary buffers as appropriate before calling <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data.">process()</a>.</p>
Chris@3 441 <dl class="section note"><dt>Note:</dt><dd>This function was introduced in version 1.4 of the <a class="el" href="namespaceVamp.html">Vamp</a> plugin SDK. </dd></dl>
Chris@1 442
Chris@1 443 </div>
Chris@1 444 </div>
Chris@3 445 <a class="anchor" id="ad19cc0614ba41cdc26ef3394c5146fe6"></a>
Chris@1 446 <div class="memitem">
Chris@1 447 <div class="memproto">
Chris@1 448 <table class="memname">
Chris@1 449 <tr>
Chris@3 450 <td class="memname">void <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ad19cc0614ba41cdc26ef3394c5146fe6">Vamp::HostExt::PluginWrapper::reset</a> </td>
Chris@1 451 <td>(</td>
Chris@1 452 <td class="paramname"></td><td>)</td>
Chris@1 453 <td><code> [virtual, inherited]</code></td>
Chris@1 454 </tr>
Chris@1 455 </table>
Chris@1 456 </div>
Chris@1 457 <div class="memdoc">
Chris@1 458
Chris@1 459 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 460 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 461
Chris@1 462 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
Chris@1 463
Chris@1 464 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a131fd9fe8a1795d7370d8a721176868a">Vamp::HostExt::PluginBufferingAdapter</a>, <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a984a12b5b4cb0be1e2f7a0aa84106c4c">Vamp::HostExt::PluginInputDomainAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#a3402381d145d507bd26d1a67e3616911">Vamp::HostExt::PluginSummarisingAdapter</a>.</p>
Chris@1 465
Chris@1 466 </div>
Chris@1 467 </div>
Chris@3 468 <a class="anchor" id="ae203faf8384c9e1fddc381409aa8a214"></a>
Chris@1 469 <div class="memitem">
Chris@1 470 <div class="memproto">
Chris@1 471 <table class="memname">
Chris@1 472 <tr>
Chris@3 473 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae203faf8384c9e1fddc381409aa8a214">Vamp::HostExt::PluginWrapper::getInputDomain</a> </td>
Chris@1 474 <td>(</td>
Chris@1 475 <td class="paramname"></td><td>)</td>
Chris@1 476 <td> const<code> [virtual, inherited]</code></td>
Chris@1 477 </tr>
Chris@1 478 </table>
Chris@1 479 </div>
Chris@1 480 <div class="memdoc">
Chris@1 481
Chris@1 482 <p>Get the plugin's required input domain. </p>
Chris@1 483 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function (below) will be in the time domain, as for a traditional audio processing plugin.</p>
Chris@3 484 <p>If this is FrequencyDomain, the host will carry out a windowed <a class="el" href="classVamp_1_1FFT.html" title="A simple FFT implementation provided for convenience of plugin authors.">FFT</a> of size equal to the negotiated block size on the data before passing the frequency bin data in to <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a>. The input data for the <a class="el" href="classVamp_1_1FFT.html" title="A simple FFT implementation provided for convenience of plugin authors.">FFT</a> will be rotated so as to place the origin in the centre of the block. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. </p>
Chris@1 485
Chris@1 486 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 487
Chris@1 488 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a47ff1ed72889f323da63f8abc9ea581a">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
Chris@1 489
Chris@1 490 </div>
Chris@1 491 </div>
Chris@3 492 <a class="anchor" id="a74147fda6b44ff2169bd4a1eea0d46ff"></a>
Chris@1 493 <div class="memitem">
Chris@1 494 <div class="memproto">
Chris@1 495 <table class="memname">
Chris@1 496 <tr>
Chris@3 497 <td class="memname">unsigned int <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a74147fda6b44ff2169bd4a1eea0d46ff">Vamp::HostExt::PluginWrapper::getVampApiVersion</a> </td>
Chris@1 498 <td>(</td>
Chris@1 499 <td class="paramname"></td><td>)</td>
Chris@1 500 <td> const<code> [virtual, inherited]</code></td>
Chris@1 501 </tr>
Chris@1 502 </table>
Chris@1 503 </div>
Chris@1 504 <div class="memdoc">
Chris@1 505
Chris@1 506 <p>Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 507
Chris@1 508 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a8fd2c48291c64b790f0efb8948508dcf">Vamp::PluginBase</a>.</p>
Chris@1 509
Chris@1 510 </div>
Chris@1 511 </div>
Chris@3 512 <a class="anchor" id="a4baa9e48f717c2b3e7f92496aa39d904"></a>
Chris@1 513 <div class="memitem">
Chris@1 514 <div class="memproto">
Chris@1 515 <table class="memname">
Chris@1 516 <tr>
Chris@3 517 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a4baa9e48f717c2b3e7f92496aa39d904">Vamp::HostExt::PluginWrapper::getIdentifier</a> </td>
Chris@1 518 <td>(</td>
Chris@1 519 <td class="paramname"></td><td>)</td>
Chris@1 520 <td> const<code> [virtual, inherited]</code></td>
Chris@1 521 </tr>
Chris@1 522 </table>
Chris@1 523 </div>
Chris@1 524 <div class="memdoc">
Chris@1 525
Chris@1 526 <p>Get the computer-usable name of the plugin. </p>
Chris@1 527 <p>This should be reasonably short and contain no whitespace or punctuation characters. It may only contain the characters [a-zA-Z0-9_-]. This is the authoritative way for a program to identify a plugin within a given library.</p>
Chris@1 528 <p>This text may be visible to the user, but it should not be the main text used to identify a plugin to the user (that will be the name, below).</p>
Chris@1 529 <p>Example: "zero_crossings" </p>
Chris@1 530
Chris@1 531 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 532
Chris@1 533 </div>
Chris@1 534 </div>
Chris@3 535 <a class="anchor" id="ac70a3265bb25aeb03f6dd8f8a0442088"></a>
Chris@1 536 <div class="memitem">
Chris@1 537 <div class="memproto">
Chris@1 538 <table class="memname">
Chris@1 539 <tr>
Chris@3 540 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac70a3265bb25aeb03f6dd8f8a0442088">Vamp::HostExt::PluginWrapper::getName</a> </td>
Chris@1 541 <td>(</td>
Chris@1 542 <td class="paramname"></td><td>)</td>
Chris@1 543 <td> const<code> [virtual, inherited]</code></td>
Chris@1 544 </tr>
Chris@1 545 </table>
Chris@1 546 </div>
Chris@1 547 <div class="memdoc">
Chris@1 548
Chris@1 549 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 550 <p>This should be brief and self-contained, as it may be used to identify the plugin to the user in isolation (i.e. without also showing the plugin's "identifier").</p>
Chris@1 551 <p>Example: "Zero Crossings" </p>
Chris@1 552
Chris@1 553 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 554
Chris@1 555 </div>
Chris@1 556 </div>
Chris@3 557 <a class="anchor" id="ac334f699c0996055942785410d8a065c"></a>
Chris@1 558 <div class="memitem">
Chris@1 559 <div class="memproto">
Chris@1 560 <table class="memname">
Chris@1 561 <tr>
Chris@3 562 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ac334f699c0996055942785410d8a065c">Vamp::HostExt::PluginWrapper::getDescription</a> </td>
Chris@1 563 <td>(</td>
Chris@1 564 <td class="paramname"></td><td>)</td>
Chris@1 565 <td> const<code> [virtual, inherited]</code></td>
Chris@1 566 </tr>
Chris@1 567 </table>
Chris@1 568 </div>
Chris@1 569 <div class="memdoc">
Chris@1 570
Chris@1 571 <p>Get a human-readable description for the plugin, typically a line of text that may optionally be displayed in addition to the plugin's "name". </p>
Chris@1 572 <p>May be empty if the name has said it all already.</p>
Chris@1 573 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 574
Chris@1 575 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 576
Chris@1 577 </div>
Chris@1 578 </div>
Chris@3 579 <a class="anchor" id="a59d5a2298951b317995675e664b1c7bb"></a>
Chris@1 580 <div class="memitem">
Chris@1 581 <div class="memproto">
Chris@1 582 <table class="memname">
Chris@1 583 <tr>
Chris@3 584 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a59d5a2298951b317995675e664b1c7bb">Vamp::HostExt::PluginWrapper::getMaker</a> </td>
Chris@1 585 <td>(</td>
Chris@1 586 <td class="paramname"></td><td>)</td>
Chris@1 587 <td> const<code> [virtual, inherited]</code></td>
Chris@1 588 </tr>
Chris@1 589 </table>
Chris@1 590 </div>
Chris@1 591 <div class="memdoc">
Chris@1 592
Chris@1 593 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 594 <p>This should be a short identifying text, as it may be used to label plugins from the same source in a menu or similar. </p>
Chris@1 595
Chris@1 596 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 597
Chris@1 598 </div>
Chris@1 599 </div>
Chris@3 600 <a class="anchor" id="a47e1acf1696813008324a915c9ba59c5"></a>
Chris@1 601 <div class="memitem">
Chris@1 602 <div class="memproto">
Chris@1 603 <table class="memname">
Chris@1 604 <tr>
Chris@3 605 <td class="memname">int <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a47e1acf1696813008324a915c9ba59c5">Vamp::HostExt::PluginWrapper::getPluginVersion</a> </td>
Chris@1 606 <td>(</td>
Chris@1 607 <td class="paramname"></td><td>)</td>
Chris@1 608 <td> const<code> [virtual, inherited]</code></td>
Chris@1 609 </tr>
Chris@1 610 </table>
Chris@1 611 </div>
Chris@1 612 <div class="memdoc">
Chris@1 613
Chris@1 614 <p>Get the version number of the plugin. </p>
Chris@1 615
Chris@1 616 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 617
Chris@1 618 </div>
Chris@1 619 </div>
Chris@3 620 <a class="anchor" id="ae14f6ecb78be909c4cd5f0cdaed3c566"></a>
Chris@1 621 <div class="memitem">
Chris@1 622 <div class="memproto">
Chris@1 623 <table class="memname">
Chris@1 624 <tr>
Chris@3 625 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ae14f6ecb78be909c4cd5f0cdaed3c566">Vamp::HostExt::PluginWrapper::getCopyright</a> </td>
Chris@1 626 <td>(</td>
Chris@1 627 <td class="paramname"></td><td>)</td>
Chris@1 628 <td> const<code> [virtual, inherited]</code></td>
Chris@1 629 </tr>
Chris@1 630 </table>
Chris@1 631 </div>
Chris@1 632 <div class="memdoc">
Chris@1 633
Chris@1 634 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 635 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 636
Chris@1 637 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 638
Chris@1 639 </div>
Chris@1 640 </div>
Chris@3 641 <a class="anchor" id="a9be71561265c2e6e43b7feaddaa91f36"></a>
Chris@1 642 <div class="memitem">
Chris@1 643 <div class="memproto">
Chris@1 644 <table class="memname">
Chris@1 645 <tr>
Chris@3 646 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a9be71561265c2e6e43b7feaddaa91f36">Vamp::HostExt::PluginWrapper::getParameterDescriptors</a> </td>
Chris@1 647 <td>(</td>
Chris@1 648 <td class="paramname"></td><td>)</td>
Chris@1 649 <td> const<code> [virtual, inherited]</code></td>
Chris@1 650 </tr>
Chris@1 651 </table>
Chris@1 652 </div>
Chris@1 653 <div class="memdoc">
Chris@1 654
Chris@1 655 <p>Get the controllable parameters of this plugin. </p>
Chris@1 656
Chris@1 657 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p>
Chris@1 658
Chris@1 659 </div>
Chris@1 660 </div>
Chris@3 661 <a class="anchor" id="a034920f56c8d7609a85447c42556048c"></a>
Chris@1 662 <div class="memitem">
Chris@1 663 <div class="memproto">
Chris@1 664 <table class="memname">
Chris@1 665 <tr>
Chris@3 666 <td class="memname">float <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a034920f56c8d7609a85447c42556048c">Vamp::HostExt::PluginWrapper::getParameter</a> </td>
Chris@1 667 <td>(</td>
Chris@1 668 <td class="paramtype">std::string&#160;</td>
Chris@1 669 <td class="paramname"></td><td>)</td>
Chris@1 670 <td> const<code> [virtual, inherited]</code></td>
Chris@1 671 </tr>
Chris@1 672 </table>
Chris@1 673 </div>
Chris@1 674 <div class="memdoc">
Chris@1 675
Chris@1 676 <p>Get the value of a named parameter. </p>
Chris@1 677 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 678
Chris@1 679 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p>
Chris@1 680
Chris@1 681 </div>
Chris@1 682 </div>
Chris@3 683 <a class="anchor" id="a651b15a5dc4c27942ac0c87c6092bfe5"></a>
Chris@1 684 <div class="memitem">
Chris@1 685 <div class="memproto">
Chris@1 686 <table class="memname">
Chris@1 687 <tr>
Chris@3 688 <td class="memname">void <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a651b15a5dc4c27942ac0c87c6092bfe5">Vamp::HostExt::PluginWrapper::setParameter</a> </td>
Chris@1 689 <td>(</td>
Chris@1 690 <td class="paramtype">std::string&#160;</td>
Chris@1 691 <td class="paramname">, </td>
Chris@1 692 </tr>
Chris@1 693 <tr>
Chris@1 694 <td class="paramkey"></td>
Chris@1 695 <td></td>
Chris@1 696 <td class="paramtype">float&#160;</td>
Chris@1 697 <td class="paramname">&#160;</td>
Chris@1 698 </tr>
Chris@1 699 <tr>
Chris@1 700 <td></td>
Chris@1 701 <td>)</td>
Chris@1 702 <td></td><td><code> [virtual, inherited]</code></td>
Chris@1 703 </tr>
Chris@1 704 </table>
Chris@1 705 </div>
Chris@1 706 <div class="memdoc">
Chris@1 707
Chris@1 708 <p>Set a named parameter. </p>
Chris@1 709 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 710
Chris@1 711 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 712
Chris@1 713 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a7a979b20c169d37adbd7b7d8b8a077b3">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 714
Chris@1 715 </div>
Chris@1 716 </div>
Chris@3 717 <a class="anchor" id="a131fbe1df81215020b9aa8cecef4c802"></a>
Chris@1 718 <div class="memitem">
Chris@1 719 <div class="memproto">
Chris@1 720 <table class="memname">
Chris@1 721 <tr>
Chris@3 722 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a131fbe1df81215020b9aa8cecef4c802">Vamp::HostExt::PluginWrapper::getPrograms</a> </td>
Chris@1 723 <td>(</td>
Chris@1 724 <td class="paramname"></td><td>)</td>
Chris@1 725 <td> const<code> [virtual, inherited]</code></td>
Chris@1 726 </tr>
Chris@1 727 </table>
Chris@1 728 </div>
Chris@1 729 <div class="memdoc">
Chris@1 730
Chris@1 731 <p>Get the program settings available in this plugin. </p>
Chris@1 732 <p>A program is a named shorthand for a set of parameter values; changing the program may cause the plugin to alter the values of its published parameters (and/or non-public internal processing parameters). The host should re-read the plugin's parameter values after setting a new program.</p>
Chris@1 733 <p>The programs must have unique names. </p>
Chris@1 734
Chris@1 735 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#abb307c60bdb981d5f5af50c3c4ae84af">Vamp::PluginBase</a>.</p>
Chris@1 736
Chris@1 737 </div>
Chris@1 738 </div>
Chris@3 739 <a class="anchor" id="a7a312dd42d161064b70afd7ff24c0651"></a>
Chris@1 740 <div class="memitem">
Chris@1 741 <div class="memproto">
Chris@1 742 <table class="memname">
Chris@1 743 <tr>
Chris@3 744 <td class="memname">std::string <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a7a312dd42d161064b70afd7ff24c0651">Vamp::HostExt::PluginWrapper::getCurrentProgram</a> </td>
Chris@1 745 <td>(</td>
Chris@1 746 <td class="paramname"></td><td>)</td>
Chris@1 747 <td> const<code> [virtual, inherited]</code></td>
Chris@1 748 </tr>
Chris@1 749 </table>
Chris@1 750 </div>
Chris@1 751 <div class="memdoc">
Chris@1 752
Chris@1 753 <p>Get the current program. </p>
Chris@1 754
Chris@1 755 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a24e77eccf1bdfbbca3c79bb25e8799b3">Vamp::PluginBase</a>.</p>
Chris@1 756
Chris@1 757 </div>
Chris@1 758 </div>
Chris@3 759 <a class="anchor" id="a074978333a74fdcf336a8a1d8ea20abf"></a>
Chris@1 760 <div class="memitem">
Chris@1 761 <div class="memproto">
Chris@1 762 <table class="memname">
Chris@1 763 <tr>
Chris@3 764 <td class="memname">void <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a074978333a74fdcf336a8a1d8ea20abf">Vamp::HostExt::PluginWrapper::selectProgram</a> </td>
Chris@1 765 <td>(</td>
Chris@1 766 <td class="paramtype">std::string&#160;</td>
Chris@1 767 <td class="paramname"></td><td>)</td>
Chris@1 768 <td><code> [virtual, inherited]</code></td>
Chris@1 769 </tr>
Chris@1 770 </table>
Chris@1 771 </div>
Chris@1 772 <div class="memdoc">
Chris@1 773
Chris@1 774 <p>Select a program. </p>
Chris@1 775 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 776
Chris@1 777 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p>
Chris@1 778
Chris@1 779 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a3cc7000e0aff525950e0a286b87f8927">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 780
Chris@1 781 </div>
Chris@1 782 </div>
Chris@3 783 <a class="anchor" id="a0137d93d7019bacc31104836fb4d352e"></a>
Chris@1 784 <div class="memitem">
Chris@1 785 <div class="memproto">
Chris@1 786 <table class="memname">
Chris@1 787 <tr>
Chris@3 788 <td class="memname">size_t <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a0137d93d7019bacc31104836fb4d352e">Vamp::HostExt::PluginWrapper::getPreferredStepSize</a> </td>
Chris@1 789 <td>(</td>
Chris@1 790 <td class="paramname"></td><td>)</td>
Chris@1 791 <td> const<code> [virtual, inherited]</code></td>
Chris@1 792 </tr>
Chris@1 793 </table>
Chris@1 794 </div>
Chris@1 795 <div class="memdoc">
Chris@1 796
Chris@1 797 <p>Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function) for the plugin. </p>
Chris@1 798 <p>This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 799 <p>A plugin may return 0 if it has no particular interest in the step size. In this case, the host should make the step size equal to the block size if the plugin is accepting input in the time domain. If the plugin is accepting input in the frequency domain, the host may use any step size. The final step size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a> call. </p>
Chris@1 800
Chris@1 801 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a514c716c22f81c055f19b56c3f882567">Vamp::Plugin</a>.</p>
Chris@1 802
Chris@1 803 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#ad979af9f1cbf2eeb16f4eaedb4a4f565">Vamp::HostExt::PluginInputDomainAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a2e66d009df69c951001e5d2786973d60">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 804
Chris@1 805 </div>
Chris@1 806 </div>
Chris@3 807 <a class="anchor" id="a2c62a656313a819650656643a867ad01"></a>
Chris@1 808 <div class="memitem">
Chris@1 809 <div class="memproto">
Chris@1 810 <table class="memname">
Chris@1 811 <tr>
Chris@3 812 <td class="memname">size_t <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2c62a656313a819650656643a867ad01">Vamp::HostExt::PluginWrapper::getPreferredBlockSize</a> </td>
Chris@1 813 <td>(</td>
Chris@1 814 <td class="paramname"></td><td>)</td>
Chris@1 815 <td> const<code> [virtual, inherited]</code></td>
Chris@1 816 </tr>
Chris@1 817 </table>
Chris@1 818 </div>
Chris@1 819 <div class="memdoc">
Chris@1 820
Chris@1 821 <p>Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> function). </p>
Chris@1 822 <p>This should be called before <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a>.</p>
Chris@1 823 <p>A plugin that can handle any block size may return 0. The final block size will be set in the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#aa5a1f8290d8e9a315695584dcb3ad137" title="Initialise a plugin to prepare it for use with the given number of input channels, step size (window increment, in sample frames) and block size (window size, in sample frames).">initialise()</a> call. </p>
Chris@1 824
Chris@1 825 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#aa529adf83f87a603954eb31407602aac">Vamp::Plugin</a>.</p>
Chris@1 826
Chris@1 827 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a21e45180b19873f9ab69fe7a4e184a03">Vamp::HostExt::PluginBufferingAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginInputDomainAdapter.html#a4cf40d09d02022b1962ff17bb0324ea5">Vamp::HostExt::PluginInputDomainAdapter</a>.</p>
Chris@1 828
Chris@1 829 </div>
Chris@1 830 </div>
Chris@3 831 <a class="anchor" id="a2b28f1cf37d46a514f1e1411a6037bf8"></a>
Chris@1 832 <div class="memitem">
Chris@1 833 <div class="memproto">
Chris@1 834 <table class="memname">
Chris@1 835 <tr>
Chris@3 836 <td class="memname">size_t <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2b28f1cf37d46a514f1e1411a6037bf8">Vamp::HostExt::PluginWrapper::getMinChannelCount</a> </td>
Chris@1 837 <td>(</td>
Chris@1 838 <td class="paramname"></td><td>)</td>
Chris@1 839 <td> const<code> [virtual, inherited]</code></td>
Chris@1 840 </tr>
Chris@1 841 </table>
Chris@1 842 </div>
Chris@1 843 <div class="memdoc">
Chris@1 844
Chris@1 845 <p>Get the minimum supported number of input channels. </p>
Chris@1 846
Chris@1 847 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a267b42e866df3cf0d190893e8096f525">Vamp::Plugin</a>.</p>
Chris@1 848
Chris@1 849 </div>
Chris@1 850 </div>
Chris@3 851 <a class="anchor" id="a985eb21f1827bfbc3950d6871b107a58"></a>
Chris@1 852 <div class="memitem">
Chris@1 853 <div class="memproto">
Chris@1 854 <table class="memname">
Chris@1 855 <tr>
Chris@3 856 <td class="memname">size_t <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a985eb21f1827bfbc3950d6871b107a58">Vamp::HostExt::PluginWrapper::getMaxChannelCount</a> </td>
Chris@1 857 <td>(</td>
Chris@1 858 <td class="paramname"></td><td>)</td>
Chris@1 859 <td> const<code> [virtual, inherited]</code></td>
Chris@1 860 </tr>
Chris@1 861 </table>
Chris@1 862 </div>
Chris@1 863 <div class="memdoc">
Chris@1 864
Chris@1 865 <p>Get the maximum supported number of input channels. </p>
Chris@1 866
Chris@1 867 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a2c5ab12b6fa4847cb244bd1e9cb3ae5e">Vamp::Plugin</a>.</p>
Chris@1 868
Chris@1 869 </div>
Chris@1 870 </div>
Chris@3 871 <a class="anchor" id="a5a9411305f713b4c9827844b89acd270"></a>
Chris@1 872 <div class="memitem">
Chris@1 873 <div class="memproto">
Chris@1 874 <table class="memname">
Chris@1 875 <tr>
Chris@3 876 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a5a9411305f713b4c9827844b89acd270">Vamp::HostExt::PluginWrapper::getOutputDescriptors</a> </td>
Chris@1 877 <td>(</td>
Chris@1 878 <td class="paramname"></td><td>)</td>
Chris@1 879 <td> const<code> [virtual, inherited]</code></td>
Chris@1 880 </tr>
Chris@1 881 </table>
Chris@1 882 </div>
Chris@1 883 <div class="memdoc">
Chris@1 884
Chris@1 885 <p>Get the outputs of this plugin. </p>
Chris@1 886 <p>An output's index in this list is used as its numeric index when looking it up in the FeatureSet returned from the <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a6bd72d6dfb3047524dbe8ae3294527cf" title="Process a single block of input data.">process()</a> call. </p>
Chris@1 887
Chris@1 888 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 889
Chris@1 890 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#af8cc914897a284433de220f1153f3845">Vamp::HostExt::PluginBufferingAdapter</a>.</p>
Chris@1 891
Chris@1 892 </div>
Chris@1 893 </div>
Chris@3 894 <a class="anchor" id="a2bc8c0992e64f06991fb7cf89f99857e"></a>
Chris@1 895 <div class="memitem">
Chris@1 896 <div class="memproto">
Chris@1 897 <table class="memname">
Chris@1 898 <tr>
Chris@3 899 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a2bc8c0992e64f06991fb7cf89f99857e">Vamp::HostExt::PluginWrapper::getRemainingFeatures</a> </td>
Chris@1 900 <td>(</td>
Chris@1 901 <td class="paramname"></td><td>)</td>
Chris@1 902 <td><code> [virtual, inherited]</code></td>
Chris@1 903 </tr>
Chris@1 904 </table>
Chris@1 905 </div>
Chris@1 906 <div class="memdoc">
Chris@1 907
Chris@1 908 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 909
Chris@1 910 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aeca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
Chris@1 911
Chris@1 912 <p>Reimplemented in <a class="el" href="classVamp_1_1HostExt_1_1PluginBufferingAdapter.html#a28423951b2eda1a1fc371485434f417b">Vamp::HostExt::PluginBufferingAdapter</a>, and <a class="el" href="classVamp_1_1HostExt_1_1PluginSummarisingAdapter.html#ae9dcbd1ba8197ff90b4fc6bf7ade7688">Vamp::HostExt::PluginSummarisingAdapter</a>.</p>
Chris@1 913
Chris@1 914 </div>
Chris@1 915 </div>
Chris@3 916 <a class="anchor" id="a653d0308e8e34881a8749b7631d00f05"></a>
Chris@1 917 <div class="memitem">
Chris@1 918 <div class="memproto">
Chris@1 919 <div class="memtemplate">
Chris@1 920 template&lt;typename WrapperType &gt; </div>
Chris@1 921 <table class="memname">
Chris@1 922 <tr>
Chris@3 923 <td class="memname">WrapperType* <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#a653d0308e8e34881a8749b7631d00f05">Vamp::HostExt::PluginWrapper::getWrapper</a> </td>
Chris@1 924 <td>(</td>
Chris@1 925 <td class="paramname"></td><td>)</td>
Chris@1 926 <td><code> [inline, inherited]</code></td>
Chris@1 927 </tr>
Chris@1 928 </table>
Chris@1 929 </div>
Chris@1 930 <div class="memdoc">
Chris@1 931
Chris@1 932 <p>Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present. </p>
Chris@1 933 <p>This is useful in situations where a plugin is wrapped by multiple different wrappers (one inside another) and the host wants to call some wrapper-specific function on one of the layers without having to care about the order in which they are wrapped. For example, the plugin returned by <a class="el" href="classVamp_1_1HostExt_1_1PluginLoader.html#a964689eb9688cd7e58e8c82ebb0d305f" title="Load a Vamp plugin, given its identifying key.">PluginLoader::loadPlugin</a> may have more than one wrapper; if the host wanted to query or fine-tune some property of one of them, it would be hard to do so without knowing the order of the wrappers. This function therefore gives direct access to the wrapper of a particular type. </p>
Chris@1 934
Chris@1 935 <p>Definition at line <a class="el" href="PluginWrapper_8h_source.html#l00116">116</a> of file <a class="el" href="PluginWrapper_8h_source.html">PluginWrapper.h</a>.</p>
Chris@1 936
Chris@1 937 <p>References <a class="el" href="PluginWrapper_8h_source.html#l00116">Vamp::HostExt::PluginWrapper::getWrapper()</a>.</p>
Chris@1 938
Chris@1 939 <p>Referenced by <a class="el" href="PluginWrapper_8h_source.html#l00116">Vamp::HostExt::PluginWrapper::getWrapper()</a>, and <a class="el" href="vamp-simple-host_8cpp_source.html#l00265">runPlugin()</a>.</p>
Chris@1 940
Chris@1 941 </div>
Chris@1 942 </div>
Chris@3 943 <a class="anchor" id="abe13b3997a69fbcc09e2213faa352f91"></a>
Chris@1 944 <div class="memitem">
Chris@1 945 <div class="memproto">
Chris@1 946 <table class="memname">
Chris@1 947 <tr>
Chris@3 948 <td class="memname">virtual std::string <a class="el" href="classVamp_1_1Plugin.html#abe13b3997a69fbcc09e2213faa352f91">Vamp::Plugin::getType</a> </td>
Chris@1 949 <td>(</td>
Chris@1 950 <td class="paramname"></td><td>)</td>
Chris@1 951 <td> const<code> [inline, virtual, inherited]</code></td>
Chris@1 952 </tr>
Chris@1 953 </table>
Chris@1 954 </div>
Chris@1 955 <div class="memdoc">
Chris@1 956
Chris@1 957 <p>Used to distinguish between <a class="el" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction from audio o...">Vamp::Plugin</a> and other potential sibling subclasses of <a class="el" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc.">PluginBase</a>. </p>
Chris@1 958 <p>Do not reimplement this function in your subclass. </p>
Chris@1 959
Chris@1 960 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 961
Chris@1 962 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00430">430</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 963
Chris@1 964 </div>
Chris@1 965 </div>
Chris@1 966 <hr/><h2>Member Data Documentation</h2>
Chris@3 967 <a class="anchor" id="ae3a74a2e6c4cd33dce9f4248e73c6701"></a>
Chris@1 968 <div class="memitem">
Chris@1 969 <div class="memproto">
Chris@1 970 <table class="memname">
Chris@1 971 <tr>
Chris@1 972 <td class="memname">Impl* <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#ae3a74a2e6c4cd33dce9f4248e73c6701">Vamp::HostExt::PluginChannelAdapter::m_impl</a><code> [protected]</code></td>
Chris@1 973 </tr>
Chris@1 974 </table>
Chris@1 975 </div>
Chris@1 976 <div class="memdoc">
Chris@1 977
Chris@1 978 <p>Definition at line <a class="el" href="PluginChannelAdapter_8h_source.html#l00139">139</a> of file <a class="el" href="PluginChannelAdapter_8h_source.html">PluginChannelAdapter.h</a>.</p>
Chris@1 979
Chris@1 980 </div>
Chris@1 981 </div>
Chris@3 982 <a class="anchor" id="ab4e40ecd98b445e1a2aa9e7baa280ea2"></a>
Chris@1 983 <div class="memitem">
Chris@1 984 <div class="memproto">
Chris@1 985 <table class="memname">
Chris@1 986 <tr>
Chris@1 987 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a>* <a class="el" href="classVamp_1_1HostExt_1_1PluginWrapper.html#ab4e40ecd98b445e1a2aa9e7baa280ea2">Vamp::HostExt::PluginWrapper::m_plugin</a><code> [protected, inherited]</code></td>
Chris@1 988 </tr>
Chris@1 989 </table>
Chris@1 990 </div>
Chris@1 991 <div class="memdoc">
Chris@1 992
Chris@1 993 <p>Definition at line <a class="el" href="PluginWrapper_8h_source.html#l00126">126</a> of file <a class="el" href="PluginWrapper_8h_source.html">PluginWrapper.h</a>.</p>
Chris@1 994
Chris@1 995 </div>
Chris@1 996 </div>
Chris@3 997 <a class="anchor" id="a59b9dd82a4f4eb946cd0474cc81abc23"></a>
Chris@1 998 <div class="memitem">
Chris@1 999 <div class="memproto">
Chris@1 1000 <table class="memname">
Chris@1 1001 <tr>
Chris@1 1002 <td class="memname">float <a class="el" href="classVamp_1_1Plugin.html#a59b9dd82a4f4eb946cd0474cc81abc23">Vamp::Plugin::m_inputSampleRate</a><code> [protected, inherited]</code></td>
Chris@1 1003 </tr>
Chris@1 1004 </table>
Chris@1 1005 </div>
Chris@1 1006 <div class="memdoc">
Chris@1 1007
Chris@1 1008 <p>Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00436">436</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1009
Chris@1 1010 <p>Referenced by <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00481">FixedTempoEstimator::D::assembleFeatures()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00375">FixedTempoEstimator::D::calculate()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00190">FixedTempoEstimator::D::getOutputDescriptors()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00111">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00252">FixedTempoEstimator::D::initialise()</a>, <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00363">FixedTempoEstimator::D::lag2tempo()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00142">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00146">SpectralCentroid::process()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00226">PercussionOnsetDetector::process()</a>, and <a class="el" href="FixedTempoEstimator_8cpp_source.html#l00369">FixedTempoEstimator::D::tempo2lag()</a>.</p>
Chris@1 1011
Chris@1 1012 </div>
Chris@1 1013 </div>
Chris@1 1014 <hr/>The documentation for this class was generated from the following file:<ul>
Chris@1 1015 <li><a class="el" href="PluginChannelAdapter_8h_source.html">PluginChannelAdapter.h</a></li>
Chris@1 1016 </ul>
Chris@3 1017 </div><!-- contents -->
Chris@1 1018 </div>
Chris@1 1019 <div id="nav-path" class="navpath">
Chris@1 1020 <ul>
Chris@1 1021 <li class="navelem"><a class="el" href="namespaceVamp.html">Vamp</a> </li>
Chris@1 1022 <li class="navelem"><a class="el" href="namespaceVamp_1_1HostExt.html">HostExt</a> </li>
Chris@1 1023 <li class="navelem"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html">PluginChannelAdapter</a> </li>
Chris@1 1024
Chris@3 1025 <li class="footer">Generated on Fri Jul 13 2012 13:28:49 for VampPluginSDK by
Chris@1 1026 <a href="http://www.doxygen.org/index.html">
Chris@3 1027 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
Chris@1 1028 </ul>
Chris@1 1029 </div>
Chris@1 1030
Chris@1 1031
Chris@1 1032 </body>
Chris@1 1033 </html>