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