annotate code-docs/classVamp_1_1HostExt_1_1PluginChannelAdapter.html @ 7:66d125fb8b42 tip

Added tag vamp-plugin-sdk-v2.7 for changeset 27319718b1f8
author Chris Cannam
date Fri, 24 Feb 2017 16:45:00 +0000
parents 27319718b1f8
children
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@6 6 <meta name="generator" content="Doxygen 1.8.13"/>
Chris@6 7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
Chris@1 8 <title>VampPluginSDK: Vamp::HostExt::PluginChannelAdapter Class Reference</title>
Chris@1 9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
Chris@6 10 <script type="text/javascript" src="jquery.js"></script>
Chris@6 11 <script type="text/javascript" src="dynsections.js"></script>
Chris@1 12 <link href="navtree.css" rel="stylesheet" type="text/css"/>
Chris@1 13 <script type="text/javascript" src="resize.js"></script>
Chris@6 14 <script type="text/javascript" src="navtreedata.js"></script>
Chris@1 15 <script type="text/javascript" src="navtree.js"></script>
Chris@1 16 <script type="text/javascript">
Chris@1 17 $(document).ready(initResizable);
Chris@1 18 </script>
Chris@6 19 <link href="doxygen.css" rel="stylesheet" type="text/css" />
Chris@1 20 </head>
Chris@1 21 <body>
Chris@6 22 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
Chris@1 23 <div id="titlearea">
Chris@1 24 <table cellspacing="0" cellpadding="0">
Chris@1 25 <tbody>
Chris@1 26 <tr style="height: 56px;">
Chris@6 27 <td id="projectalign" style="padding-left: 0.5em;">
Chris@1 28 <div id="projectname">VampPluginSDK
Chris@6 29 &#160;<span id="projectnumber">2.7</span>
Chris@1 30 </div>
Chris@1 31 </td>
Chris@1 32 </tr>
Chris@1 33 </tbody>
Chris@1 34 </table>
Chris@1 35 </div>
Chris@6 36 <!-- end header part -->
Chris@6 37 <!-- Generated by Doxygen 1.8.13 -->
Chris@6 38 <script type="text/javascript" src="menudata.js"></script>
Chris@6 39 <script type="text/javascript" src="menu.js"></script>
Chris@6 40 <script type="text/javascript">
Chris@6 41 $(function() {
Chris@6 42 initMenu('',false,false,'search.php','Search');
Chris@6 43 });
Chris@6 44 </script>
Chris@6 45 <div id="main-nav"></div>
Chris@6 46 </div><!-- top -->
Chris@1 47 <div id="side-nav" class="ui-resizable side-nav-resizable">
Chris@1 48 <div id="nav-tree">
Chris@1 49 <div id="nav-tree-contents">
Chris@6 50 <div id="nav-sync" class="sync"></div>
Chris@1 51 </div>
Chris@1 52 </div>
Chris@1 53 <div id="splitbar" style="-moz-user-select:none;"
Chris@1 54 class="ui-resizable-handle">
Chris@1 55 </div>
Chris@1 56 </div>
Chris@1 57 <script type="text/javascript">
Chris@6 58 $(document).ready(function(){initNavTree('classVamp_1_1HostExt_1_1PluginChannelAdapter.html','');});
Chris@1 59 </script>
Chris@1 60 <div id="doc-content">
Chris@1 61 <div class="header">
Chris@1 62 <div class="summary">
Chris@1 63 <a href="#pub-types">Public Types</a> &#124;
Chris@1 64 <a href="#pub-methods">Public Member Functions</a> &#124;
Chris@6 65 <a href="#pro-attribs">Protected Attributes</a> &#124;
Chris@6 66 <a href="classVamp_1_1HostExt_1_1PluginChannelAdapter-members.html">List of all members</a> </div>
Chris@1 67 <div class="headertitle">
Chris@1 68 <div class="title">Vamp::HostExt::PluginChannelAdapter Class Reference</div> </div>
Chris@3 69 </div><!--header-->
Chris@1 70 <div class="contents">
Chris@3 71
Chris@1 72 <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 73 <a href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#details">More...</a></p>
Chris@1 74
Chris@1 75 <p><code>#include &lt;<a class="el" href="PluginChannelAdapter_8h_source.html">vamp-hostsdk/PluginChannelAdapter.h</a>&gt;</code></p>
Chris@1 76 <div class="dynheader">
Chris@1 77 Inheritance diagram for Vamp::HostExt::PluginChannelAdapter:</div>
Chris@1 78 <div class="dyncontent">
Chris@1 79 <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 80 <map name="Vamp_1_1HostExt_1_1PluginChannelAdapter_inherit__map" id="Vamp_1_1HostExt_1_1PluginChannelAdapter_inherit__map">
Chris@6 81 <area shape="rect" id="node2" href="classVamp_1_1HostExt_1_1PluginWrapper.html" title="PluginWrapper is a simple base class for adapter plugins. " alt="" coords="5,152,196,177"/>
Chris@6 82 <area shape="rect" id="node3" 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="53,79,148,104"/>
Chris@6 83 <area shape="rect" id="node4" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc. " alt="" coords="39,5,162,31"/>
Chris@6 84 </map>
Chris@1 85 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 86 <table class="memberdecls">
Chris@6 87 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Chris@1 88 Public Types</h2></td></tr>
Chris@3 89 <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 90 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 91 }</td></tr>
Chris@6 92 <tr class="separator:a39cb7649d6dcc20e4cb1640cd55907bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 93 <tr class="memitem:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memItemLeft" align="right" valign="top">typedef std::vector&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@6 94 <tr class="separator:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 95 <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@6 96 <tr class="separator:a0730bc72c87fa02eb8d2854b233f7be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 97 <tr class="memitem:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; int, <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@6 98 <tr class="separator:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 99 <tr class="memitem:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memItemLeft" align="right" valign="top">typedef std::vector&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@6 100 <tr class="separator:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 101 <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@6 102 <tr class="separator:a7f66f00437b21e5f694fe02356b12f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 103 </table><table class="memberdecls">
Chris@6 104 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Chris@1 105 Public Member Functions</h2></td></tr>
Chris@3 106 <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@6 107 <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">More...</a><br /></td></tr>
Chris@6 108 <tr class="separator:a2cda2b672708264f9a33c43bad3acdd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 109 <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@6 110 <tr class="separator:acb9a20fefd130e323b1eb2ced43e521c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 111 <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@6 112 <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">More...</a><br /></td></tr>
Chris@6 113 <tr class="separator:ade0473c8fc54636431967cbf41649c1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 114 <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@6 115 <tr class="memdesc:a6ff37bf754ff8711dbcb2f020fa3902c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a6ff37bf754ff8711dbcb2f020fa3902c">More...</a><br /></td></tr>
Chris@6 116 <tr class="separator:a6ff37bf754ff8711dbcb2f020fa3902c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 117 <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@6 118 <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">More...</a><br /></td></tr>
Chris@6 119 <tr class="separator:a5c94c3eb1dbc8899fe58527bbb7bb61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 120 <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@6 121 <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">More...</a><br /></td></tr>
Chris@6 122 <tr class="separator:ad19cc0614ba41cdc26ef3394c5146fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 123 <tr class="memitem:a8838facfe9d88cf36b13c1b42165fc6d"><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#a8838facfe9d88cf36b13c1b42165fc6d">getInputDomain</a> () const</td></tr>
Chris@6 124 <tr class="memdesc:a8838facfe9d88cf36b13c1b42165fc6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#a8838facfe9d88cf36b13c1b42165fc6d">More...</a><br /></td></tr>
Chris@6 125 <tr class="separator:a8838facfe9d88cf36b13c1b42165fc6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 126 <tr class="memitem:afa79272f991fb720ddd09784be1b3cb8"><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#afa79272f991fb720ddd09784be1b3cb8">getVampApiVersion</a> () const</td></tr>
Chris@6 127 <tr class="memdesc:afa79272f991fb720ddd09784be1b3cb8"><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="#afa79272f991fb720ddd09784be1b3cb8">More...</a><br /></td></tr>
Chris@6 128 <tr class="separator:afa79272f991fb720ddd09784be1b3cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 129 <tr class="memitem:ad9312a38c199004c7bad0c42f590393f"><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#ad9312a38c199004c7bad0c42f590393f">getIdentifier</a> () const</td></tr>
Chris@6 130 <tr class="memdesc:ad9312a38c199004c7bad0c42f590393f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#ad9312a38c199004c7bad0c42f590393f">More...</a><br /></td></tr>
Chris@6 131 <tr class="separator:ad9312a38c199004c7bad0c42f590393f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 132 <tr class="memitem:aa2b40de6e240d872997a63dd4a301ff3"><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#aa2b40de6e240d872997a63dd4a301ff3">getName</a> () const</td></tr>
Chris@6 133 <tr class="memdesc:aa2b40de6e240d872997a63dd4a301ff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#aa2b40de6e240d872997a63dd4a301ff3">More...</a><br /></td></tr>
Chris@6 134 <tr class="separator:aa2b40de6e240d872997a63dd4a301ff3"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 135 <tr class="memitem:ad6e453c30b265a2daf243f953b35c815"><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#ad6e453c30b265a2daf243f953b35c815">getDescription</a> () const</td></tr>
Chris@6 136 <tr class="memdesc:ad6e453c30b265a2daf243f953b35c815"><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="#ad6e453c30b265a2daf243f953b35c815">More...</a><br /></td></tr>
Chris@6 137 <tr class="separator:ad6e453c30b265a2daf243f953b35c815"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 138 <tr class="memitem:af9b2f01063828ef0745dc2623fc8dd42"><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#af9b2f01063828ef0745dc2623fc8dd42">getMaker</a> () const</td></tr>
Chris@6 139 <tr class="memdesc:af9b2f01063828ef0745dc2623fc8dd42"><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="#af9b2f01063828ef0745dc2623fc8dd42">More...</a><br /></td></tr>
Chris@6 140 <tr class="separator:af9b2f01063828ef0745dc2623fc8dd42"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 141 <tr class="memitem:a9537de27c826a1441b2d3643df4880bb"><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#a9537de27c826a1441b2d3643df4880bb">getPluginVersion</a> () const</td></tr>
Chris@6 142 <tr class="memdesc:a9537de27c826a1441b2d3643df4880bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a9537de27c826a1441b2d3643df4880bb">More...</a><br /></td></tr>
Chris@6 143 <tr class="separator:a9537de27c826a1441b2d3643df4880bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 144 <tr class="memitem:aea9c238f86de65d3380fa887bb9e47e6"><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#aea9c238f86de65d3380fa887bb9e47e6">getCopyright</a> () const</td></tr>
Chris@6 145 <tr class="memdesc:aea9c238f86de65d3380fa887bb9e47e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#aea9c238f86de65d3380fa887bb9e47e6">More...</a><br /></td></tr>
Chris@6 146 <tr class="separator:aea9c238f86de65d3380fa887bb9e47e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 147 <tr class="memitem:ab2b67205d86e921cb0a9bd1f819d2cf9"><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#ab2b67205d86e921cb0a9bd1f819d2cf9">getParameterDescriptors</a> () const</td></tr>
Chris@6 148 <tr class="memdesc:ab2b67205d86e921cb0a9bd1f819d2cf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#ab2b67205d86e921cb0a9bd1f819d2cf9">More...</a><br /></td></tr>
Chris@6 149 <tr class="separator:ab2b67205d86e921cb0a9bd1f819d2cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 150 <tr class="memitem:a5c0a4d72a25fded51829de21771de521"><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#a5c0a4d72a25fded51829de21771de521">getParameter</a> (std::string) const</td></tr>
Chris@6 151 <tr class="memdesc:a5c0a4d72a25fded51829de21771de521"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#a5c0a4d72a25fded51829de21771de521">More...</a><br /></td></tr>
Chris@6 152 <tr class="separator:a5c0a4d72a25fded51829de21771de521"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 153 <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@6 154 <tr class="memdesc:a651b15a5dc4c27942ac0c87c6092bfe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#a651b15a5dc4c27942ac0c87c6092bfe5">More...</a><br /></td></tr>
Chris@6 155 <tr class="separator:a651b15a5dc4c27942ac0c87c6092bfe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 156 <tr class="memitem:aa0b72ea17766266d20539f293ccae7c8"><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#aa0b72ea17766266d20539f293ccae7c8">getPrograms</a> () const</td></tr>
Chris@6 157 <tr class="memdesc:aa0b72ea17766266d20539f293ccae7c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#aa0b72ea17766266d20539f293ccae7c8">More...</a><br /></td></tr>
Chris@6 158 <tr class="separator:aa0b72ea17766266d20539f293ccae7c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 159 <tr class="memitem:a3936fe2c4b3c960dd244849a7c3320ad"><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#a3936fe2c4b3c960dd244849a7c3320ad">getCurrentProgram</a> () const</td></tr>
Chris@6 160 <tr class="memdesc:a3936fe2c4b3c960dd244849a7c3320ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#a3936fe2c4b3c960dd244849a7c3320ad">More...</a><br /></td></tr>
Chris@6 161 <tr class="separator:a3936fe2c4b3c960dd244849a7c3320ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 162 <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@6 163 <tr class="memdesc:a074978333a74fdcf336a8a1d8ea20abf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#a074978333a74fdcf336a8a1d8ea20abf">More...</a><br /></td></tr>
Chris@6 164 <tr class="separator:a074978333a74fdcf336a8a1d8ea20abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 165 <tr class="memitem:adf2ea98d6eeb0435c0c8d7cdc29fed7c"><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#adf2ea98d6eeb0435c0c8d7cdc29fed7c">getPreferredStepSize</a> () const</td></tr>
Chris@6 166 <tr class="memdesc:adf2ea98d6eeb0435c0c8d7cdc29fed7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred step size (window increment &ndash; 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="#adf2ea98d6eeb0435c0c8d7cdc29fed7c">More...</a><br /></td></tr>
Chris@6 167 <tr class="separator:adf2ea98d6eeb0435c0c8d7cdc29fed7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 168 <tr class="memitem:a94f855a2cf674ccc2e7315484f706d68"><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#a94f855a2cf674ccc2e7315484f706d68">getPreferredBlockSize</a> () const</td></tr>
Chris@6 169 <tr class="memdesc:a94f855a2cf674ccc2e7315484f706d68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the preferred block size (window size &ndash; 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="#a94f855a2cf674ccc2e7315484f706d68">More...</a><br /></td></tr>
Chris@6 170 <tr class="separator:a94f855a2cf674ccc2e7315484f706d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 171 <tr class="memitem:abc0a4e6ce0ae9de39c40725de1f30d2f"><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#abc0a4e6ce0ae9de39c40725de1f30d2f">getMinChannelCount</a> () const</td></tr>
Chris@6 172 <tr class="memdesc:abc0a4e6ce0ae9de39c40725de1f30d2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#abc0a4e6ce0ae9de39c40725de1f30d2f">More...</a><br /></td></tr>
Chris@6 173 <tr class="separator:abc0a4e6ce0ae9de39c40725de1f30d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 174 <tr class="memitem:acfed040cd91e797ee89d077db22b4a97"><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#acfed040cd91e797ee89d077db22b4a97">getMaxChannelCount</a> () const</td></tr>
Chris@6 175 <tr class="memdesc:acfed040cd91e797ee89d077db22b4a97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#acfed040cd91e797ee89d077db22b4a97">More...</a><br /></td></tr>
Chris@6 176 <tr class="separator:acfed040cd91e797ee89d077db22b4a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 177 <tr class="memitem:af67a6cd3afa18895393ec8d4bdec3b4c"><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#af67a6cd3afa18895393ec8d4bdec3b4c">getOutputDescriptors</a> () const</td></tr>
Chris@6 178 <tr class="memdesc:af67a6cd3afa18895393ec8d4bdec3b4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#af67a6cd3afa18895393ec8d4bdec3b4c">More...</a><br /></td></tr>
Chris@6 179 <tr class="separator:af67a6cd3afa18895393ec8d4bdec3b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 180 <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@6 181 <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">More...</a><br /></td></tr>
Chris@6 182 <tr class="separator:a2bc8c0992e64f06991fb7cf89f99857e"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 183 <tr class="memitem:a653d0308e8e34881a8749b7631d00f05"><td class="memTemplParams" colspan="2">template&lt;typename WrapperType &gt; </td></tr>
Chris@3 184 <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@6 185 <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">More...</a><br /></td></tr>
Chris@6 186 <tr class="separator:a653d0308e8e34881a8749b7631d00f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 187 <tr class="memitem:a530123068767a8728c568ffccfe3e4e5"><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#a530123068767a8728c568ffccfe3e4e5">getType</a> () const</td></tr>
Chris@6 188 <tr class="memdesc:a530123068767a8728c568ffccfe3e4e5"><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="#a530123068767a8728c568ffccfe3e4e5">More...</a><br /></td></tr>
Chris@6 189 <tr class="separator:a530123068767a8728c568ffccfe3e4e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 190 </table><table class="memberdecls">
Chris@6 191 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Chris@1 192 Protected Attributes</h2></td></tr>
Chris@3 193 <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@6 194 <tr class="separator:ae3a74a2e6c4cd33dce9f4248e73c6701"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 195 <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@6 196 <tr class="separator:ab4e40ecd98b445e1a2aa9e7baa280ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 197 <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@6 198 <tr class="separator:a59b9dd82a4f4eb946cd0474cc81abc23"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@1 199 </table>
Chris@6 200 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Chris@1 201 <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 202 <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 203 <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 204 <ul>
Chris@1 205 <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 206 <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 207 <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 208 </ul>
Chris@1 209 <p>If none of the above apply:</p>
Chris@1 210 <ul>
Chris@1 211 <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 212 <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 213 </ul>
Chris@1 214 <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 215 <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 216 <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 217 <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@6 218 <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 219
Chris@6 220 <p class="definition">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@6 221 </div><h2 class="groupheader">Member Typedef Documentation</h2>
Chris@6 222 <a id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a>
Chris@6 223 <h2 class="memtitle"><span class="permalink"><a href="#a30f531b8fb69fac41a24e3d2a6a08ed9">&#9670;&nbsp;</a></span>OutputList</h2>
Chris@6 224
Chris@6 225 <div class="memitem">
Chris@6 226 <div class="memproto">
Chris@6 227 <table class="mlabels">
Chris@6 228 <tr>
Chris@6 229 <td class="mlabels-left">
Chris@6 230 <table class="memname">
Chris@6 231 <tr>
Chris@6 232 <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></td>
Chris@6 233 </tr>
Chris@6 234 </table>
Chris@6 235 </td>
Chris@6 236 <td class="mlabels-right">
Chris@6 237 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 238 </tr>
Chris@6 239 </table>
Chris@6 240 </div><div class="memdoc">
Chris@6 241
Chris@6 242 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00335">335</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 243
Chris@6 244 </div>
Chris@6 245 </div>
Chris@6 246 <a id="a0730bc72c87fa02eb8d2854b233f7be1"></a>
Chris@6 247 <h2 class="memtitle"><span class="permalink"><a href="#a0730bc72c87fa02eb8d2854b233f7be1">&#9670;&nbsp;</a></span>FeatureList</h2>
Chris@6 248
Chris@6 249 <div class="memitem">
Chris@6 250 <div class="memproto">
Chris@6 251 <table class="mlabels">
Chris@6 252 <tr>
Chris@6 253 <td class="mlabels-left">
Chris@6 254 <table class="memname">
Chris@6 255 <tr>
Chris@6 256 <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></td>
Chris@6 257 </tr>
Chris@6 258 </table>
Chris@6 259 </td>
Chris@6 260 <td class="mlabels-right">
Chris@6 261 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 262 </tr>
Chris@6 263 </table>
Chris@6 264 </div><div class="memdoc">
Chris@6 265
Chris@6 266 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00393">393</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 267
Chris@6 268 </div>
Chris@6 269 </div>
Chris@6 270 <a id="a448fb57dc245d47923ec9eeaf9856c5f"></a>
Chris@6 271 <h2 class="memtitle"><span class="permalink"><a href="#a448fb57dc245d47923ec9eeaf9856c5f">&#9670;&nbsp;</a></span>FeatureSet</h2>
Chris@6 272
Chris@6 273 <div class="memitem">
Chris@6 274 <div class="memproto">
Chris@6 275 <table class="mlabels">
Chris@6 276 <tr>
Chris@6 277 <td class="mlabels-left">
Chris@6 278 <table class="memname">
Chris@6 279 <tr>
Chris@6 280 <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></td>
Chris@6 281 </tr>
Chris@6 282 </table>
Chris@6 283 </td>
Chris@6 284 <td class="mlabels-right">
Chris@6 285 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 286 </tr>
Chris@6 287 </table>
Chris@6 288 </div><div class="memdoc">
Chris@6 289
Chris@6 290 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00395">395</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@6 291
Chris@6 292 </div>
Chris@6 293 </div>
Chris@6 294 <a id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a>
Chris@6 295 <h2 class="memtitle"><span class="permalink"><a href="#a3b6bb4bbd86affe1ca9deceea1aad4f8">&#9670;&nbsp;</a></span>ParameterList</h2>
Chris@6 296
Chris@6 297 <div class="memitem">
Chris@6 298 <div class="memproto">
Chris@6 299 <table class="mlabels">
Chris@6 300 <tr>
Chris@6 301 <td class="mlabels-left">
Chris@6 302 <table class="memname">
Chris@6 303 <tr>
Chris@6 304 <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></td>
Chris@6 305 </tr>
Chris@6 306 </table>
Chris@6 307 </td>
Chris@6 308 <td class="mlabels-right">
Chris@6 309 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 310 </tr>
Chris@6 311 </table>
Chris@6 312 </div><div class="memdoc">
Chris@6 313
Chris@6 314 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00203">203</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@6 315
Chris@6 316 </div>
Chris@6 317 </div>
Chris@6 318 <a id="a7f66f00437b21e5f694fe02356b12f20"></a>
Chris@6 319 <h2 class="memtitle"><span class="permalink"><a href="#a7f66f00437b21e5f694fe02356b12f20">&#9670;&nbsp;</a></span>ProgramList</h2>
Chris@6 320
Chris@6 321 <div class="memitem">
Chris@6 322 <div class="memproto">
Chris@6 323 <table class="mlabels">
Chris@6 324 <tr>
Chris@6 325 <td class="mlabels-left">
Chris@6 326 <table class="memname">
Chris@6 327 <tr>
Chris@6 328 <td class="memname">typedef std::vector&lt;std::string&gt; <a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a></td>
Chris@6 329 </tr>
Chris@6 330 </table>
Chris@6 331 </td>
Chris@6 332 <td class="mlabels-right">
Chris@6 333 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 334 </tr>
Chris@6 335 </table>
Chris@6 336 </div><div class="memdoc">
Chris@6 337
Chris@6 338 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2PluginBase_8h_source.html#l00225">225</a> of file <a class="el" href="vamp-sdk_2PluginBase_8h_source.html">vamp-sdk/PluginBase.h</a>.</p>
Chris@6 339
Chris@6 340 </div>
Chris@6 341 </div>
Chris@6 342 <h2 class="groupheader">Member Enumeration Documentation</h2>
Chris@6 343 <a id="a39cb7649d6dcc20e4cb1640cd55907bc"></a>
Chris@6 344 <h2 class="memtitle"><span class="permalink"><a href="#a39cb7649d6dcc20e4cb1640cd55907bc">&#9670;&nbsp;</a></span>InputDomain</h2>
Chris@6 345
Chris@6 346 <div class="memitem">
Chris@6 347 <div class="memproto">
Chris@6 348 <table class="mlabels">
Chris@6 349 <tr>
Chris@6 350 <td class="mlabels-left">
Chris@6 351 <table class="memname">
Chris@6 352 <tr>
Chris@6 353 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a></td>
Chris@6 354 </tr>
Chris@6 355 </table>
Chris@6 356 </td>
Chris@6 357 <td class="mlabels-right">
Chris@6 358 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 359 </tr>
Chris@6 360 </table>
Chris@6 361 </div><div class="memdoc">
Chris@6 362 <table class="fieldtable">
Chris@6 363 <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a39cb7649d6dcc20e4cb1640cd55907bcad4a9f31b958a43a9757af7893aa2e7ff"></a>TimeDomain&#160;</td><td class="fielddoc"></td></tr>
Chris@6 364 <tr><td class="fieldname"><a id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a>FrequencyDomain&#160;</td><td class="fielddoc"></td></tr>
Chris@6 365 </table>
Chris@6 366
Chris@6 367 <p class="definition">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@6 368
Chris@6 369 </div>
Chris@6 370 </div>
Chris@6 371 <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
Chris@6 372 <a id="a2cda2b672708264f9a33c43bad3acdd8"></a>
Chris@6 373 <h2 class="memtitle"><span class="permalink"><a href="#a2cda2b672708264f9a33c43bad3acdd8">&#9670;&nbsp;</a></span>PluginChannelAdapter()</h2>
Chris@6 374
Chris@1 375 <div class="memitem">
Chris@1 376 <div class="memproto">
Chris@1 377 <table class="memname">
Chris@1 378 <tr>
Chris@6 379 <td class="memname">Vamp::HostExt::PluginChannelAdapter::PluginChannelAdapter </td>
Chris@1 380 <td>(</td>
Chris@1 381 <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a> *&#160;</td>
Chris@1 382 <td class="paramname"><em>plugin</em></td><td>)</td>
Chris@1 383 <td></td>
Chris@1 384 </tr>
Chris@1 385 </table>
Chris@6 386 </div><div class="memdoc">
Chris@1 387
Chris@1 388 <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 389 <p>The adapter takes ownership of the plugin, which will be deleted when the adapter is deleted. </p>
Chris@1 390
Chris@1 391 </div>
Chris@1 392 </div>
Chris@6 393 <a id="acb9a20fefd130e323b1eb2ced43e521c"></a>
Chris@6 394 <h2 class="memtitle"><span class="permalink"><a href="#acb9a20fefd130e323b1eb2ced43e521c">&#9670;&nbsp;</a></span>~PluginChannelAdapter()</h2>
Chris@6 395
Chris@1 396 <div class="memitem">
Chris@1 397 <div class="memproto">
Chris@6 398 <table class="mlabels">
Chris@6 399 <tr>
Chris@6 400 <td class="mlabels-left">
Chris@1 401 <table class="memname">
Chris@1 402 <tr>
Chris@6 403 <td class="memname">virtual Vamp::HostExt::PluginChannelAdapter::~PluginChannelAdapter </td>
Chris@1 404 <td>(</td>
Chris@1 405 <td class="paramname"></td><td>)</td>
Chris@6 406 <td></td>
Chris@1 407 </tr>
Chris@1 408 </table>
Chris@6 409 </td>
Chris@6 410 <td class="mlabels-right">
Chris@6 411 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 412 </tr>
Chris@6 413 </table>
Chris@6 414 </div><div class="memdoc">
Chris@1 415
Chris@1 416 </div>
Chris@1 417 </div>
Chris@6 418 <h2 class="groupheader">Member Function Documentation</h2>
Chris@6 419 <a id="ade0473c8fc54636431967cbf41649c1c"></a>
Chris@6 420 <h2 class="memtitle"><span class="permalink"><a href="#ade0473c8fc54636431967cbf41649c1c">&#9670;&nbsp;</a></span>initialise()</h2>
Chris@6 421
Chris@1 422 <div class="memitem">
Chris@1 423 <div class="memproto">
Chris@6 424 <table class="mlabels">
Chris@6 425 <tr>
Chris@6 426 <td class="mlabels-left">
Chris@1 427 <table class="memname">
Chris@1 428 <tr>
Chris@6 429 <td class="memname">bool Vamp::HostExt::PluginChannelAdapter::initialise </td>
Chris@1 430 <td>(</td>
Chris@1 431 <td class="paramtype">size_t&#160;</td>
Chris@1 432 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 433 </tr>
Chris@1 434 <tr>
Chris@1 435 <td class="paramkey"></td>
Chris@1 436 <td></td>
Chris@1 437 <td class="paramtype">size_t&#160;</td>
Chris@1 438 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 439 </tr>
Chris@1 440 <tr>
Chris@1 441 <td class="paramkey"></td>
Chris@1 442 <td></td>
Chris@1 443 <td class="paramtype">size_t&#160;</td>
Chris@1 444 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 445 </tr>
Chris@1 446 <tr>
Chris@1 447 <td></td>
Chris@1 448 <td>)</td>
Chris@6 449 <td></td><td></td>
Chris@1 450 </tr>
Chris@1 451 </table>
Chris@6 452 </td>
Chris@6 453 <td class="mlabels-right">
Chris@6 454 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 455 </tr>
Chris@6 456 </table>
Chris@6 457 </div><div class="memdoc">
Chris@1 458
Chris@1 459 <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 460 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 461 <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 462
Chris@6 463 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
Chris@1 464
Chris@1 465 </div>
Chris@1 466 </div>
Chris@6 467 <a id="a6ff37bf754ff8711dbcb2f020fa3902c"></a>
Chris@6 468 <h2 class="memtitle"><span class="permalink"><a href="#a6ff37bf754ff8711dbcb2f020fa3902c">&#9670;&nbsp;</a></span>process()</h2>
Chris@6 469
Chris@1 470 <div class="memitem">
Chris@1 471 <div class="memproto">
Chris@6 472 <table class="mlabels">
Chris@6 473 <tr>
Chris@6 474 <td class="mlabels-left">
Chris@1 475 <table class="memname">
Chris@1 476 <tr>
Chris@6 477 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginChannelAdapter::process </td>
Chris@1 478 <td>(</td>
Chris@1 479 <td class="paramtype">const float *const *&#160;</td>
Chris@1 480 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 481 </tr>
Chris@1 482 <tr>
Chris@1 483 <td class="paramkey"></td>
Chris@1 484 <td></td>
Chris@1 485 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 486 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 487 </tr>
Chris@1 488 <tr>
Chris@1 489 <td></td>
Chris@1 490 <td>)</td>
Chris@6 491 <td></td><td></td>
Chris@1 492 </tr>
Chris@1 493 </table>
Chris@6 494 </td>
Chris@6 495 <td class="mlabels-right">
Chris@6 496 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 497 </tr>
Chris@6 498 </table>
Chris@6 499 </div><div class="memdoc">
Chris@1 500
Chris@1 501 <p>Process a single block of input data. </p>
Chris@1 502 <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@6 503 <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 504 <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 505
Chris@6 506 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
Chris@1 507
Chris@1 508 </div>
Chris@1 509 </div>
Chris@6 510 <a id="a5c94c3eb1dbc8899fe58527bbb7bb61f"></a>
Chris@6 511 <h2 class="memtitle"><span class="permalink"><a href="#a5c94c3eb1dbc8899fe58527bbb7bb61f">&#9670;&nbsp;</a></span>processInterleaved()</h2>
Chris@6 512
Chris@1 513 <div class="memitem">
Chris@1 514 <div class="memproto">
Chris@1 515 <table class="memname">
Chris@1 516 <tr>
Chris@6 517 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginChannelAdapter::processInterleaved </td>
Chris@1 518 <td>(</td>
Chris@1 519 <td class="paramtype">const float *&#160;</td>
Chris@1 520 <td class="paramname"><em>inputBuffer</em>, </td>
Chris@1 521 </tr>
Chris@1 522 <tr>
Chris@1 523 <td class="paramkey"></td>
Chris@1 524 <td></td>
Chris@1 525 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 526 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 527 </tr>
Chris@1 528 <tr>
Chris@1 529 <td></td>
Chris@1 530 <td>)</td>
Chris@1 531 <td></td><td></td>
Chris@1 532 </tr>
Chris@1 533 </table>
Chris@6 534 </div><div class="memdoc">
Chris@1 535
Chris@6 536 <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@6 537 <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@6 538 <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 539
Chris@1 540 </div>
Chris@1 541 </div>
Chris@6 542 <a id="ad19cc0614ba41cdc26ef3394c5146fe6"></a>
Chris@6 543 <h2 class="memtitle"><span class="permalink"><a href="#ad19cc0614ba41cdc26ef3394c5146fe6">&#9670;&nbsp;</a></span>reset()</h2>
Chris@6 544
Chris@1 545 <div class="memitem">
Chris@1 546 <div class="memproto">
Chris@6 547 <table class="mlabels">
Chris@6 548 <tr>
Chris@6 549 <td class="mlabels-left">
Chris@1 550 <table class="memname">
Chris@1 551 <tr>
Chris@6 552 <td class="memname">void Vamp::HostExt::PluginWrapper::reset </td>
Chris@1 553 <td>(</td>
Chris@1 554 <td class="paramname"></td><td>)</td>
Chris@6 555 <td></td>
Chris@1 556 </tr>
Chris@1 557 </table>
Chris@6 558 </td>
Chris@6 559 <td class="mlabels-right">
Chris@6 560 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 561 </tr>
Chris@6 562 </table>
Chris@6 563 </div><div class="memdoc">
Chris@1 564
Chris@1 565 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 566 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 567
Chris@1 568 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
Chris@1 569
Chris@6 570 </div>
Chris@6 571 </div>
Chris@6 572 <a id="a8838facfe9d88cf36b13c1b42165fc6d"></a>
Chris@6 573 <h2 class="memtitle"><span class="permalink"><a href="#a8838facfe9d88cf36b13c1b42165fc6d">&#9670;&nbsp;</a></span>getInputDomain()</h2>
Chris@1 574
Chris@1 575 <div class="memitem">
Chris@1 576 <div class="memproto">
Chris@6 577 <table class="mlabels">
Chris@6 578 <tr>
Chris@6 579 <td class="mlabels-left">
Chris@1 580 <table class="memname">
Chris@1 581 <tr>
Chris@6 582 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> Vamp::HostExt::PluginWrapper::getInputDomain </td>
Chris@1 583 <td>(</td>
Chris@1 584 <td class="paramname"></td><td>)</td>
Chris@6 585 <td> const</td>
Chris@1 586 </tr>
Chris@1 587 </table>
Chris@6 588 </td>
Chris@6 589 <td class="mlabels-right">
Chris@6 590 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 591 </tr>
Chris@6 592 </table>
Chris@6 593 </div><div class="memdoc">
Chris@1 594
Chris@1 595 <p>Get the plugin's required input domain. </p>
Chris@6 596 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" 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@6 597 <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_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" 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 &ndash; the host will either let the user do so, or will use a Hanning window. </p>
Chris@1 598
Chris@1 599 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 600
Chris@6 601 </div>
Chris@6 602 </div>
Chris@6 603 <a id="afa79272f991fb720ddd09784be1b3cb8"></a>
Chris@6 604 <h2 class="memtitle"><span class="permalink"><a href="#afa79272f991fb720ddd09784be1b3cb8">&#9670;&nbsp;</a></span>getVampApiVersion()</h2>
Chris@1 605
Chris@1 606 <div class="memitem">
Chris@1 607 <div class="memproto">
Chris@6 608 <table class="mlabels">
Chris@6 609 <tr>
Chris@6 610 <td class="mlabels-left">
Chris@1 611 <table class="memname">
Chris@1 612 <tr>
Chris@6 613 <td class="memname">unsigned int Vamp::HostExt::PluginWrapper::getVampApiVersion </td>
Chris@1 614 <td>(</td>
Chris@1 615 <td class="paramname"></td><td>)</td>
Chris@6 616 <td> const</td>
Chris@1 617 </tr>
Chris@1 618 </table>
Chris@6 619 </td>
Chris@6 620 <td class="mlabels-right">
Chris@6 621 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 622 </tr>
Chris@6 623 </table>
Chris@6 624 </div><div class="memdoc">
Chris@1 625
Chris@1 626 <p>Get the <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 627
Chris@6 628 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#ab4aa9c3e6f6dd9addbc095463c9fb772">Vamp::PluginBase</a>.</p>
Chris@1 629
Chris@1 630 </div>
Chris@1 631 </div>
Chris@6 632 <a id="ad9312a38c199004c7bad0c42f590393f"></a>
Chris@6 633 <h2 class="memtitle"><span class="permalink"><a href="#ad9312a38c199004c7bad0c42f590393f">&#9670;&nbsp;</a></span>getIdentifier()</h2>
Chris@6 634
Chris@1 635 <div class="memitem">
Chris@1 636 <div class="memproto">
Chris@6 637 <table class="mlabels">
Chris@6 638 <tr>
Chris@6 639 <td class="mlabels-left">
Chris@1 640 <table class="memname">
Chris@1 641 <tr>
Chris@6 642 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getIdentifier </td>
Chris@1 643 <td>(</td>
Chris@1 644 <td class="paramname"></td><td>)</td>
Chris@6 645 <td> const</td>
Chris@1 646 </tr>
Chris@1 647 </table>
Chris@6 648 </td>
Chris@6 649 <td class="mlabels-right">
Chris@6 650 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 651 </tr>
Chris@6 652 </table>
Chris@6 653 </div><div class="memdoc">
Chris@1 654
Chris@1 655 <p>Get the computer-usable name of the plugin. </p>
Chris@1 656 <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 657 <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 658 <p>Example: "zero_crossings" </p>
Chris@1 659
Chris@1 660 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 661
Chris@1 662 </div>
Chris@1 663 </div>
Chris@6 664 <a id="aa2b40de6e240d872997a63dd4a301ff3"></a>
Chris@6 665 <h2 class="memtitle"><span class="permalink"><a href="#aa2b40de6e240d872997a63dd4a301ff3">&#9670;&nbsp;</a></span>getName()</h2>
Chris@6 666
Chris@1 667 <div class="memitem">
Chris@1 668 <div class="memproto">
Chris@6 669 <table class="mlabels">
Chris@6 670 <tr>
Chris@6 671 <td class="mlabels-left">
Chris@1 672 <table class="memname">
Chris@1 673 <tr>
Chris@6 674 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getName </td>
Chris@1 675 <td>(</td>
Chris@1 676 <td class="paramname"></td><td>)</td>
Chris@6 677 <td> const</td>
Chris@1 678 </tr>
Chris@1 679 </table>
Chris@6 680 </td>
Chris@6 681 <td class="mlabels-right">
Chris@6 682 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 683 </tr>
Chris@6 684 </table>
Chris@6 685 </div><div class="memdoc">
Chris@1 686
Chris@1 687 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 688 <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 689 <p>Example: "Zero Crossings" </p>
Chris@1 690
Chris@1 691 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 692
Chris@1 693 </div>
Chris@1 694 </div>
Chris@6 695 <a id="ad6e453c30b265a2daf243f953b35c815"></a>
Chris@6 696 <h2 class="memtitle"><span class="permalink"><a href="#ad6e453c30b265a2daf243f953b35c815">&#9670;&nbsp;</a></span>getDescription()</h2>
Chris@6 697
Chris@1 698 <div class="memitem">
Chris@1 699 <div class="memproto">
Chris@6 700 <table class="mlabels">
Chris@6 701 <tr>
Chris@6 702 <td class="mlabels-left">
Chris@1 703 <table class="memname">
Chris@1 704 <tr>
Chris@6 705 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getDescription </td>
Chris@1 706 <td>(</td>
Chris@1 707 <td class="paramname"></td><td>)</td>
Chris@6 708 <td> const</td>
Chris@1 709 </tr>
Chris@1 710 </table>
Chris@6 711 </td>
Chris@6 712 <td class="mlabels-right">
Chris@6 713 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 714 </tr>
Chris@6 715 </table>
Chris@6 716 </div><div class="memdoc">
Chris@1 717
Chris@1 718 <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 719 <p>May be empty if the name has said it all already.</p>
Chris@1 720 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 721
Chris@1 722 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 723
Chris@1 724 </div>
Chris@1 725 </div>
Chris@6 726 <a id="af9b2f01063828ef0745dc2623fc8dd42"></a>
Chris@6 727 <h2 class="memtitle"><span class="permalink"><a href="#af9b2f01063828ef0745dc2623fc8dd42">&#9670;&nbsp;</a></span>getMaker()</h2>
Chris@6 728
Chris@1 729 <div class="memitem">
Chris@1 730 <div class="memproto">
Chris@6 731 <table class="mlabels">
Chris@6 732 <tr>
Chris@6 733 <td class="mlabels-left">
Chris@1 734 <table class="memname">
Chris@1 735 <tr>
Chris@6 736 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getMaker </td>
Chris@1 737 <td>(</td>
Chris@1 738 <td class="paramname"></td><td>)</td>
Chris@6 739 <td> const</td>
Chris@1 740 </tr>
Chris@1 741 </table>
Chris@6 742 </td>
Chris@6 743 <td class="mlabels-right">
Chris@6 744 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 745 </tr>
Chris@6 746 </table>
Chris@6 747 </div><div class="memdoc">
Chris@1 748
Chris@1 749 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 750 <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 751
Chris@1 752 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 753
Chris@1 754 </div>
Chris@1 755 </div>
Chris@6 756 <a id="a9537de27c826a1441b2d3643df4880bb"></a>
Chris@6 757 <h2 class="memtitle"><span class="permalink"><a href="#a9537de27c826a1441b2d3643df4880bb">&#9670;&nbsp;</a></span>getPluginVersion()</h2>
Chris@6 758
Chris@1 759 <div class="memitem">
Chris@1 760 <div class="memproto">
Chris@6 761 <table class="mlabels">
Chris@6 762 <tr>
Chris@6 763 <td class="mlabels-left">
Chris@1 764 <table class="memname">
Chris@1 765 <tr>
Chris@6 766 <td class="memname">int Vamp::HostExt::PluginWrapper::getPluginVersion </td>
Chris@1 767 <td>(</td>
Chris@1 768 <td class="paramname"></td><td>)</td>
Chris@6 769 <td> const</td>
Chris@1 770 </tr>
Chris@1 771 </table>
Chris@6 772 </td>
Chris@6 773 <td class="mlabels-right">
Chris@6 774 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 775 </tr>
Chris@6 776 </table>
Chris@6 777 </div><div class="memdoc">
Chris@1 778
Chris@1 779 <p>Get the version number of the plugin. </p>
Chris@1 780
Chris@1 781 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 782
Chris@1 783 </div>
Chris@1 784 </div>
Chris@6 785 <a id="aea9c238f86de65d3380fa887bb9e47e6"></a>
Chris@6 786 <h2 class="memtitle"><span class="permalink"><a href="#aea9c238f86de65d3380fa887bb9e47e6">&#9670;&nbsp;</a></span>getCopyright()</h2>
Chris@6 787
Chris@1 788 <div class="memitem">
Chris@1 789 <div class="memproto">
Chris@6 790 <table class="mlabels">
Chris@6 791 <tr>
Chris@6 792 <td class="mlabels-left">
Chris@1 793 <table class="memname">
Chris@1 794 <tr>
Chris@6 795 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCopyright </td>
Chris@1 796 <td>(</td>
Chris@1 797 <td class="paramname"></td><td>)</td>
Chris@6 798 <td> const</td>
Chris@1 799 </tr>
Chris@1 800 </table>
Chris@6 801 </td>
Chris@6 802 <td class="mlabels-right">
Chris@6 803 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 804 </tr>
Chris@6 805 </table>
Chris@6 806 </div><div class="memdoc">
Chris@1 807
Chris@1 808 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 809 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 810
Chris@1 811 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 812
Chris@1 813 </div>
Chris@1 814 </div>
Chris@6 815 <a id="ab2b67205d86e921cb0a9bd1f819d2cf9"></a>
Chris@6 816 <h2 class="memtitle"><span class="permalink"><a href="#ab2b67205d86e921cb0a9bd1f819d2cf9">&#9670;&nbsp;</a></span>getParameterDescriptors()</h2>
Chris@6 817
Chris@1 818 <div class="memitem">
Chris@1 819 <div class="memproto">
Chris@6 820 <table class="mlabels">
Chris@6 821 <tr>
Chris@6 822 <td class="mlabels-left">
Chris@1 823 <table class="memname">
Chris@1 824 <tr>
Chris@6 825 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> Vamp::HostExt::PluginWrapper::getParameterDescriptors </td>
Chris@1 826 <td>(</td>
Chris@1 827 <td class="paramname"></td><td>)</td>
Chris@6 828 <td> const</td>
Chris@1 829 </tr>
Chris@1 830 </table>
Chris@6 831 </td>
Chris@6 832 <td class="mlabels-right">
Chris@6 833 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 834 </tr>
Chris@6 835 </table>
Chris@6 836 </div><div class="memdoc">
Chris@1 837
Chris@1 838 <p>Get the controllable parameters of this plugin. </p>
Chris@1 839
Chris@6 840 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a0c24ff6a43c681198dc9497287a26e3a">Vamp::PluginBase</a>.</p>
Chris@1 841
Chris@1 842 </div>
Chris@1 843 </div>
Chris@6 844 <a id="a5c0a4d72a25fded51829de21771de521"></a>
Chris@6 845 <h2 class="memtitle"><span class="permalink"><a href="#a5c0a4d72a25fded51829de21771de521">&#9670;&nbsp;</a></span>getParameter()</h2>
Chris@6 846
Chris@1 847 <div class="memitem">
Chris@1 848 <div class="memproto">
Chris@6 849 <table class="mlabels">
Chris@6 850 <tr>
Chris@6 851 <td class="mlabels-left">
Chris@1 852 <table class="memname">
Chris@1 853 <tr>
Chris@6 854 <td class="memname">float Vamp::HostExt::PluginWrapper::getParameter </td>
Chris@1 855 <td>(</td>
Chris@1 856 <td class="paramtype">std::string&#160;</td>
Chris@1 857 <td class="paramname"></td><td>)</td>
Chris@6 858 <td> const</td>
Chris@1 859 </tr>
Chris@1 860 </table>
Chris@6 861 </td>
Chris@6 862 <td class="mlabels-right">
Chris@6 863 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 864 </tr>
Chris@6 865 </table>
Chris@6 866 </div><div class="memdoc">
Chris@1 867
Chris@1 868 <p>Get the value of a named parameter. </p>
Chris@1 869 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 870
Chris@6 871 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aa813d61077080ec95487d2a0227cc51b">Vamp::PluginBase</a>.</p>
Chris@1 872
Chris@1 873 </div>
Chris@1 874 </div>
Chris@6 875 <a id="a651b15a5dc4c27942ac0c87c6092bfe5"></a>
Chris@6 876 <h2 class="memtitle"><span class="permalink"><a href="#a651b15a5dc4c27942ac0c87c6092bfe5">&#9670;&nbsp;</a></span>setParameter()</h2>
Chris@6 877
Chris@1 878 <div class="memitem">
Chris@1 879 <div class="memproto">
Chris@6 880 <table class="mlabels">
Chris@6 881 <tr>
Chris@6 882 <td class="mlabels-left">
Chris@1 883 <table class="memname">
Chris@1 884 <tr>
Chris@6 885 <td class="memname">void Vamp::HostExt::PluginWrapper::setParameter </td>
Chris@1 886 <td>(</td>
Chris@1 887 <td class="paramtype">std::string&#160;</td>
Chris@1 888 <td class="paramname">, </td>
Chris@1 889 </tr>
Chris@1 890 <tr>
Chris@1 891 <td class="paramkey"></td>
Chris@1 892 <td></td>
Chris@1 893 <td class="paramtype">float&#160;</td>
Chris@1 894 <td class="paramname">&#160;</td>
Chris@1 895 </tr>
Chris@1 896 <tr>
Chris@1 897 <td></td>
Chris@1 898 <td>)</td>
Chris@6 899 <td></td><td></td>
Chris@1 900 </tr>
Chris@1 901 </table>
Chris@6 902 </td>
Chris@6 903 <td class="mlabels-right">
Chris@6 904 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 905 </tr>
Chris@6 906 </table>
Chris@6 907 </div><div class="memdoc">
Chris@1 908
Chris@1 909 <p>Set a named parameter. </p>
Chris@1 910 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 911
Chris@1 912 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 913
Chris@6 914 </div>
Chris@6 915 </div>
Chris@6 916 <a id="aa0b72ea17766266d20539f293ccae7c8"></a>
Chris@6 917 <h2 class="memtitle"><span class="permalink"><a href="#aa0b72ea17766266d20539f293ccae7c8">&#9670;&nbsp;</a></span>getPrograms()</h2>
Chris@1 918
Chris@1 919 <div class="memitem">
Chris@1 920 <div class="memproto">
Chris@6 921 <table class="mlabels">
Chris@6 922 <tr>
Chris@6 923 <td class="mlabels-left">
Chris@1 924 <table class="memname">
Chris@1 925 <tr>
Chris@6 926 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::HostExt::PluginWrapper::getPrograms </td>
Chris@1 927 <td>(</td>
Chris@1 928 <td class="paramname"></td><td>)</td>
Chris@6 929 <td> const</td>
Chris@1 930 </tr>
Chris@1 931 </table>
Chris@6 932 </td>
Chris@6 933 <td class="mlabels-right">
Chris@6 934 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 935 </tr>
Chris@6 936 </table>
Chris@6 937 </div><div class="memdoc">
Chris@1 938
Chris@1 939 <p>Get the program settings available in this plugin. </p>
Chris@1 940 <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 941 <p>The programs must have unique names. </p>
Chris@1 942
Chris@6 943 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aaf6febff0ab4daf4a5089c98a67f4df8">Vamp::PluginBase</a>.</p>
Chris@1 944
Chris@1 945 </div>
Chris@1 946 </div>
Chris@6 947 <a id="a3936fe2c4b3c960dd244849a7c3320ad"></a>
Chris@6 948 <h2 class="memtitle"><span class="permalink"><a href="#a3936fe2c4b3c960dd244849a7c3320ad">&#9670;&nbsp;</a></span>getCurrentProgram()</h2>
Chris@6 949
Chris@1 950 <div class="memitem">
Chris@1 951 <div class="memproto">
Chris@6 952 <table class="mlabels">
Chris@6 953 <tr>
Chris@6 954 <td class="mlabels-left">
Chris@1 955 <table class="memname">
Chris@1 956 <tr>
Chris@6 957 <td class="memname">std::string Vamp::HostExt::PluginWrapper::getCurrentProgram </td>
Chris@1 958 <td>(</td>
Chris@1 959 <td class="paramname"></td><td>)</td>
Chris@6 960 <td> const</td>
Chris@1 961 </tr>
Chris@1 962 </table>
Chris@6 963 </td>
Chris@6 964 <td class="mlabels-right">
Chris@6 965 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 966 </tr>
Chris@6 967 </table>
Chris@6 968 </div><div class="memdoc">
Chris@1 969
Chris@1 970 <p>Get the current program. </p>
Chris@1 971
Chris@6 972 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aac38c5dc6e87208616122897518ca3d5">Vamp::PluginBase</a>.</p>
Chris@1 973
Chris@1 974 </div>
Chris@1 975 </div>
Chris@6 976 <a id="a074978333a74fdcf336a8a1d8ea20abf"></a>
Chris@6 977 <h2 class="memtitle"><span class="permalink"><a href="#a074978333a74fdcf336a8a1d8ea20abf">&#9670;&nbsp;</a></span>selectProgram()</h2>
Chris@6 978
Chris@1 979 <div class="memitem">
Chris@1 980 <div class="memproto">
Chris@6 981 <table class="mlabels">
Chris@6 982 <tr>
Chris@6 983 <td class="mlabels-left">
Chris@1 984 <table class="memname">
Chris@1 985 <tr>
Chris@6 986 <td class="memname">void Vamp::HostExt::PluginWrapper::selectProgram </td>
Chris@1 987 <td>(</td>
Chris@1 988 <td class="paramtype">std::string&#160;</td>
Chris@1 989 <td class="paramname"></td><td>)</td>
Chris@6 990 <td></td>
Chris@1 991 </tr>
Chris@1 992 </table>
Chris@6 993 </td>
Chris@6 994 <td class="mlabels-right">
Chris@6 995 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 996 </tr>
Chris@6 997 </table>
Chris@6 998 </div><div class="memdoc">
Chris@1 999
Chris@1 1000 <p>Select a program. </p>
Chris@1 1001 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 1002
Chris@1 1003 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p>
Chris@1 1004
Chris@6 1005 </div>
Chris@6 1006 </div>
Chris@6 1007 <a id="adf2ea98d6eeb0435c0c8d7cdc29fed7c"></a>
Chris@6 1008 <h2 class="memtitle"><span class="permalink"><a href="#adf2ea98d6eeb0435c0c8d7cdc29fed7c">&#9670;&nbsp;</a></span>getPreferredStepSize()</h2>
Chris@6 1009
Chris@6 1010 <div class="memitem">
Chris@6 1011 <div class="memproto">
Chris@6 1012 <table class="mlabels">
Chris@6 1013 <tr>
Chris@6 1014 <td class="mlabels-left">
Chris@6 1015 <table class="memname">
Chris@6 1016 <tr>
Chris@6 1017 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredStepSize </td>
Chris@6 1018 <td>(</td>
Chris@6 1019 <td class="paramname"></td><td>)</td>
Chris@6 1020 <td> const</td>
Chris@6 1021 </tr>
Chris@6 1022 </table>
Chris@6 1023 </td>
Chris@6 1024 <td class="mlabels-right">
Chris@6 1025 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1026 </tr>
Chris@6 1027 </table>
Chris@6 1028 </div><div class="memdoc">
Chris@6 1029
Chris@6 1030 <p>Get the preferred step size (window increment &ndash; the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data. ">process()</a> function) for the plugin. </p>
Chris@6 1031 <p>This should be called before <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@6 1032 <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_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> call. </p>
Chris@6 1033
Chris@6 1034 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a33eaf9a265bc3a055e156452112456c2">Vamp::Plugin</a>.</p>
Chris@1 1035
Chris@1 1036 </div>
Chris@1 1037 </div>
Chris@6 1038 <a id="a94f855a2cf674ccc2e7315484f706d68"></a>
Chris@6 1039 <h2 class="memtitle"><span class="permalink"><a href="#a94f855a2cf674ccc2e7315484f706d68">&#9670;&nbsp;</a></span>getPreferredBlockSize()</h2>
Chris@6 1040
Chris@1 1041 <div class="memitem">
Chris@1 1042 <div class="memproto">
Chris@6 1043 <table class="mlabels">
Chris@6 1044 <tr>
Chris@6 1045 <td class="mlabels-left">
Chris@1 1046 <table class="memname">
Chris@1 1047 <tr>
Chris@6 1048 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getPreferredBlockSize </td>
Chris@1 1049 <td>(</td>
Chris@1 1050 <td class="paramname"></td><td>)</td>
Chris@6 1051 <td> const</td>
Chris@1 1052 </tr>
Chris@1 1053 </table>
Chris@6 1054 </td>
Chris@6 1055 <td class="mlabels-right">
Chris@6 1056 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1057 </tr>
Chris@6 1058 </table>
Chris@6 1059 </div><div class="memdoc">
Chris@1 1060
Chris@6 1061 <p>Get the preferred block size (window size &ndash; the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data. ">process()</a> function). </p>
Chris@6 1062 <p>This should be called before <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@6 1063 <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_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> call. </p>
Chris@1 1064
Chris@6 1065 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#ae3b9c32b12796ece152388babad7cc7d">Vamp::Plugin</a>.</p>
Chris@1 1066
Chris@1 1067 </div>
Chris@1 1068 </div>
Chris@6 1069 <a id="abc0a4e6ce0ae9de39c40725de1f30d2f"></a>
Chris@6 1070 <h2 class="memtitle"><span class="permalink"><a href="#abc0a4e6ce0ae9de39c40725de1f30d2f">&#9670;&nbsp;</a></span>getMinChannelCount()</h2>
Chris@6 1071
Chris@1 1072 <div class="memitem">
Chris@1 1073 <div class="memproto">
Chris@6 1074 <table class="mlabels">
Chris@6 1075 <tr>
Chris@6 1076 <td class="mlabels-left">
Chris@1 1077 <table class="memname">
Chris@1 1078 <tr>
Chris@6 1079 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMinChannelCount </td>
Chris@1 1080 <td>(</td>
Chris@1 1081 <td class="paramname"></td><td>)</td>
Chris@6 1082 <td> const</td>
Chris@1 1083 </tr>
Chris@1 1084 </table>
Chris@6 1085 </td>
Chris@6 1086 <td class="mlabels-right">
Chris@6 1087 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1088 </tr>
Chris@6 1089 </table>
Chris@6 1090 </div><div class="memdoc">
Chris@1 1091
Chris@1 1092 <p>Get the minimum supported number of input channels. </p>
Chris@1 1093
Chris@6 1094 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#ab74f7634c6ac6e3da115667808a79c30">Vamp::Plugin</a>.</p>
Chris@1 1095
Chris@1 1096 </div>
Chris@1 1097 </div>
Chris@6 1098 <a id="acfed040cd91e797ee89d077db22b4a97"></a>
Chris@6 1099 <h2 class="memtitle"><span class="permalink"><a href="#acfed040cd91e797ee89d077db22b4a97">&#9670;&nbsp;</a></span>getMaxChannelCount()</h2>
Chris@6 1100
Chris@1 1101 <div class="memitem">
Chris@1 1102 <div class="memproto">
Chris@6 1103 <table class="mlabels">
Chris@6 1104 <tr>
Chris@6 1105 <td class="mlabels-left">
Chris@1 1106 <table class="memname">
Chris@1 1107 <tr>
Chris@6 1108 <td class="memname">size_t Vamp::HostExt::PluginWrapper::getMaxChannelCount </td>
Chris@1 1109 <td>(</td>
Chris@1 1110 <td class="paramname"></td><td>)</td>
Chris@6 1111 <td> const</td>
Chris@1 1112 </tr>
Chris@1 1113 </table>
Chris@6 1114 </td>
Chris@6 1115 <td class="mlabels-right">
Chris@6 1116 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1117 </tr>
Chris@6 1118 </table>
Chris@6 1119 </div><div class="memdoc">
Chris@1 1120
Chris@1 1121 <p>Get the maximum supported number of input channels. </p>
Chris@1 1122
Chris@6 1123 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a0bff9464bc8c117470136c396b2405dd">Vamp::Plugin</a>.</p>
Chris@1 1124
Chris@1 1125 </div>
Chris@1 1126 </div>
Chris@6 1127 <a id="af67a6cd3afa18895393ec8d4bdec3b4c"></a>
Chris@6 1128 <h2 class="memtitle"><span class="permalink"><a href="#af67a6cd3afa18895393ec8d4bdec3b4c">&#9670;&nbsp;</a></span>getOutputDescriptors()</h2>
Chris@6 1129
Chris@1 1130 <div class="memitem">
Chris@1 1131 <div class="memproto">
Chris@6 1132 <table class="mlabels">
Chris@6 1133 <tr>
Chris@6 1134 <td class="mlabels-left">
Chris@1 1135 <table class="memname">
Chris@1 1136 <tr>
Chris@6 1137 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> Vamp::HostExt::PluginWrapper::getOutputDescriptors </td>
Chris@1 1138 <td>(</td>
Chris@1 1139 <td class="paramname"></td><td>)</td>
Chris@6 1140 <td> const</td>
Chris@1 1141 </tr>
Chris@1 1142 </table>
Chris@6 1143 </td>
Chris@6 1144 <td class="mlabels-right">
Chris@6 1145 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1146 </tr>
Chris@6 1147 </table>
Chris@6 1148 </div><div class="memdoc">
Chris@1 1149
Chris@1 1150 <p>Get the outputs of this plugin. </p>
Chris@6 1151 <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_1PluginChannelAdapter.html#a6ff37bf754ff8711dbcb2f020fa3902c" title="Process a single block of input data. ">process()</a> call. </p>
Chris@1 1152
Chris@1 1153 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 1154
Chris@6 1155 </div>
Chris@6 1156 </div>
Chris@6 1157 <a id="a2bc8c0992e64f06991fb7cf89f99857e"></a>
Chris@6 1158 <h2 class="memtitle"><span class="permalink"><a href="#a2bc8c0992e64f06991fb7cf89f99857e">&#9670;&nbsp;</a></span>getRemainingFeatures()</h2>
Chris@1 1159
Chris@1 1160 <div class="memitem">
Chris@1 1161 <div class="memproto">
Chris@6 1162 <table class="mlabels">
Chris@6 1163 <tr>
Chris@6 1164 <td class="mlabels-left">
Chris@1 1165 <table class="memname">
Chris@1 1166 <tr>
Chris@6 1167 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::HostExt::PluginWrapper::getRemainingFeatures </td>
Chris@1 1168 <td>(</td>
Chris@1 1169 <td class="paramname"></td><td>)</td>
Chris@6 1170 <td></td>
Chris@1 1171 </tr>
Chris@1 1172 </table>
Chris@6 1173 </td>
Chris@6 1174 <td class="mlabels-right">
Chris@6 1175 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1176 </tr>
Chris@6 1177 </table>
Chris@6 1178 </div><div class="memdoc">
Chris@1 1179
Chris@1 1180 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 1181
Chris@1 1182 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aeca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
Chris@1 1183
Chris@6 1184 </div>
Chris@6 1185 </div>
Chris@6 1186 <a id="a653d0308e8e34881a8749b7631d00f05"></a>
Chris@6 1187 <h2 class="memtitle"><span class="permalink"><a href="#a653d0308e8e34881a8749b7631d00f05">&#9670;&nbsp;</a></span>getWrapper()</h2>
Chris@1 1188
Chris@1 1189 <div class="memitem">
Chris@1 1190 <div class="memproto">
Chris@1 1191 <div class="memtemplate">
Chris@1 1192 template&lt;typename WrapperType &gt; </div>
Chris@6 1193 <table class="mlabels">
Chris@6 1194 <tr>
Chris@6 1195 <td class="mlabels-left">
Chris@1 1196 <table class="memname">
Chris@1 1197 <tr>
Chris@6 1198 <td class="memname">WrapperType* Vamp::HostExt::PluginWrapper::getWrapper </td>
Chris@1 1199 <td>(</td>
Chris@1 1200 <td class="paramname"></td><td>)</td>
Chris@6 1201 <td></td>
Chris@1 1202 </tr>
Chris@1 1203 </table>
Chris@6 1204 </td>
Chris@6 1205 <td class="mlabels-right">
Chris@6 1206 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1207 </tr>
Chris@6 1208 </table>
Chris@6 1209 </div><div class="memdoc">
Chris@1 1210
Chris@1 1211 <p>Return a pointer to the plugin wrapper of type WrapperType surrounding this wrapper's plugin, if present. </p>
Chris@6 1212 <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 1213
Chris@6 1214 <p class="definition">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 1215
Chris@6 1216 <p class="reference">References <a class="el" href="PluginWrapper_8h_source.html#l00116">Vamp::HostExt::PluginWrapper::getWrapper()</a>.</p>
Chris@1 1217
Chris@6 1218 <p class="reference">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#l00268">runPlugin()</a>.</p>
Chris@1 1219
Chris@1 1220 </div>
Chris@1 1221 </div>
Chris@6 1222 <a id="a530123068767a8728c568ffccfe3e4e5"></a>
Chris@6 1223 <h2 class="memtitle"><span class="permalink"><a href="#a530123068767a8728c568ffccfe3e4e5">&#9670;&nbsp;</a></span>getType()</h2>
Chris@6 1224
Chris@1 1225 <div class="memitem">
Chris@1 1226 <div class="memproto">
Chris@6 1227 <table class="mlabels">
Chris@6 1228 <tr>
Chris@6 1229 <td class="mlabels-left">
Chris@1 1230 <table class="memname">
Chris@1 1231 <tr>
Chris@6 1232 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
Chris@1 1233 <td>(</td>
Chris@1 1234 <td class="paramname"></td><td>)</td>
Chris@6 1235 <td> const</td>
Chris@1 1236 </tr>
Chris@1 1237 </table>
Chris@6 1238 </td>
Chris@6 1239 <td class="mlabels-right">
Chris@6 1240 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1241 </tr>
Chris@6 1242 </table>
Chris@6 1243 </div><div class="memdoc">
Chris@1 1244
Chris@6 1245 <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 1246 <p>Do not reimplement this function in your subclass. </p>
Chris@1 1247
Chris@1 1248 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 1249
Chris@6 1250 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00438">438</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1251
Chris@1 1252 </div>
Chris@1 1253 </div>
Chris@6 1254 <h2 class="groupheader">Member Data Documentation</h2>
Chris@6 1255 <a id="ae3a74a2e6c4cd33dce9f4248e73c6701"></a>
Chris@6 1256 <h2 class="memtitle"><span class="permalink"><a href="#ae3a74a2e6c4cd33dce9f4248e73c6701">&#9670;&nbsp;</a></span>m_impl</h2>
Chris@6 1257
Chris@1 1258 <div class="memitem">
Chris@1 1259 <div class="memproto">
Chris@6 1260 <table class="mlabels">
Chris@6 1261 <tr>
Chris@6 1262 <td class="mlabels-left">
Chris@1 1263 <table class="memname">
Chris@1 1264 <tr>
Chris@6 1265 <td class="memname">Impl* Vamp::HostExt::PluginChannelAdapter::m_impl</td>
Chris@1 1266 </tr>
Chris@1 1267 </table>
Chris@6 1268 </td>
Chris@6 1269 <td class="mlabels-right">
Chris@6 1270 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
Chris@6 1271 </tr>
Chris@6 1272 </table>
Chris@6 1273 </div><div class="memdoc">
Chris@1 1274
Chris@6 1275 <p class="definition">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 1276
Chris@1 1277 </div>
Chris@1 1278 </div>
Chris@6 1279 <a id="ab4e40ecd98b445e1a2aa9e7baa280ea2"></a>
Chris@6 1280 <h2 class="memtitle"><span class="permalink"><a href="#ab4e40ecd98b445e1a2aa9e7baa280ea2">&#9670;&nbsp;</a></span>m_plugin</h2>
Chris@6 1281
Chris@1 1282 <div class="memitem">
Chris@1 1283 <div class="memproto">
Chris@6 1284 <table class="mlabels">
Chris@6 1285 <tr>
Chris@6 1286 <td class="mlabels-left">
Chris@1 1287 <table class="memname">
Chris@1 1288 <tr>
Chris@6 1289 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html">Plugin</a>* Vamp::HostExt::PluginWrapper::m_plugin</td>
Chris@1 1290 </tr>
Chris@1 1291 </table>
Chris@6 1292 </td>
Chris@6 1293 <td class="mlabels-right">
Chris@6 1294 <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1295 </tr>
Chris@6 1296 </table>
Chris@6 1297 </div><div class="memdoc">
Chris@1 1298
Chris@6 1299 <p class="definition">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 1300
Chris@1 1301 </div>
Chris@1 1302 </div>
Chris@6 1303 <a id="a59b9dd82a4f4eb946cd0474cc81abc23"></a>
Chris@6 1304 <h2 class="memtitle"><span class="permalink"><a href="#a59b9dd82a4f4eb946cd0474cc81abc23">&#9670;&nbsp;</a></span>m_inputSampleRate</h2>
Chris@6 1305
Chris@1 1306 <div class="memitem">
Chris@1 1307 <div class="memproto">
Chris@6 1308 <table class="mlabels">
Chris@6 1309 <tr>
Chris@6 1310 <td class="mlabels-left">
Chris@1 1311 <table class="memname">
Chris@1 1312 <tr>
Chris@6 1313 <td class="memname">float Vamp::Plugin::m_inputSampleRate</td>
Chris@1 1314 </tr>
Chris@1 1315 </table>
Chris@6 1316 </td>
Chris@6 1317 <td class="mlabels-right">
Chris@6 1318 <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1319 </tr>
Chris@6 1320 </table>
Chris@6 1321 </div><div class="memdoc">
Chris@1 1322
Chris@6 1323 <p class="definition">Definition at line <a class="el" href="vamp-sdk_2Plugin_8h_source.html#l00444">444</a> of file <a class="el" href="vamp-sdk_2Plugin_8h_source.html">vamp-sdk/Plugin.h</a>.</p>
Chris@1 1324
Chris@6 1325 <p class="reference">Referenced by <a class="el" href="ZeroCrossing_8cpp_source.html#l00112">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="AmplitudeFollower_8cpp_source.html#l00106">AmplitudeFollower::initialise()</a>, <a class="el" href="SpectralCentroid_8cpp_source.html#l00146">SpectralCentroid::process()</a>, <a class="el" href="ZeroCrossing_8cpp_source.html#l00143">ZeroCrossing::process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp_source.html#l00226">PercussionOnsetDetector::process()</a>.</p>
Chris@1 1326
Chris@1 1327 </div>
Chris@1 1328 </div>
Chris@1 1329 <hr/>The documentation for this class was generated from the following file:<ul>
Chris@1 1330 <li><a class="el" href="PluginChannelAdapter_8h_source.html">PluginChannelAdapter.h</a></li>
Chris@1 1331 </ul>
Chris@3 1332 </div><!-- contents -->
Chris@6 1333 </div><!-- doc-content -->
Chris@6 1334 <!-- start footer part -->
Chris@6 1335 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
Chris@6 1336 <ul>
Chris@6 1337 <li class="navelem"><a class="el" href="namespaceVamp.html">Vamp</a></li><li class="navelem"><a class="el" href="namespaceVamp_1_1HostExt.html">HostExt</a></li><li class="navelem"><a class="el" href="classVamp_1_1HostExt_1_1PluginChannelAdapter.html">PluginChannelAdapter</a></li>
Chris@6 1338 <li class="footer">Generated by
Chris@6 1339 <a href="http://www.doxygen.org/index.html">
Chris@6 1340 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
Chris@6 1341 </ul>
Chris@1 1342 </div>
Chris@1 1343 </body>
Chris@1 1344 </html>