annotate code-docs/classVamp_1_1PluginHostAdapter.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::PluginHostAdapter 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_1PluginHostAdapter.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="#pub-static-methods">Static Public Member Functions</a> &#124;
Chris@1 66 <a href="#pro-methods">Protected Member Functions</a> &#124;
Chris@6 67 <a href="#pro-attribs">Protected Attributes</a> &#124;
Chris@6 68 <a href="classVamp_1_1PluginHostAdapter-members.html">List of all members</a> </div>
Chris@1 69 <div class="headertitle">
Chris@1 70 <div class="title">Vamp::PluginHostAdapter Class Reference</div> </div>
Chris@3 71 </div><!--header-->
Chris@1 72 <div class="contents">
Chris@3 73
Chris@1 74 <p><a class="el" href="classVamp_1_1PluginHostAdapter.html" title="PluginHostAdapter is a wrapper class that a Vamp host can use to make the C-language VampPluginDescri...">PluginHostAdapter</a> is a wrapper class that a <a class="el" href="namespaceVamp.html">Vamp</a> host can use to make the C-language VampPluginDescriptor object appear as a C++ <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> object.
Chris@1 75 <a href="classVamp_1_1PluginHostAdapter.html#details">More...</a></p>
Chris@1 76
Chris@1 77 <p><code>#include &lt;<a class="el" href="PluginHostAdapter_8h_source.html">vamp-hostsdk/PluginHostAdapter.h</a>&gt;</code></p>
Chris@1 78 <div class="dynheader">
Chris@1 79 Inheritance diagram for Vamp::PluginHostAdapter:</div>
Chris@1 80 <div class="dyncontent">
Chris@1 81 <div class="center"><img src="classVamp_1_1PluginHostAdapter__inherit__graph.png" border="0" usemap="#Vamp_1_1PluginHostAdapter_inherit__map" alt="Inheritance graph"/></div>
Chris@1 82 <map name="Vamp_1_1PluginHostAdapter_inherit__map" id="Vamp_1_1PluginHostAdapter_inherit__map">
Chris@6 83 <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="39,79,134,104"/>
Chris@6 84 <area shape="rect" id="node3" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc. " alt="" coords="25,5,148,31"/>
Chris@6 85 </map>
Chris@1 86 <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
Chris@1 87 <table class="memberdecls">
Chris@6 88 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Chris@1 89 Public Types</h2></td></tr>
Chris@3 90 <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 91 <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a>
Chris@1 92 }</td></tr>
Chris@6 93 <tr class="separator:a39cb7649d6dcc20e4cb1640cd55907bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 94 <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 95 <tr class="separator:a30f531b8fb69fac41a24e3d2a6a08ed9"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 96 <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 97 <tr class="separator:a0730bc72c87fa02eb8d2854b233f7be1"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 98 <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 99 <tr class="separator:a448fb57dc245d47923ec9eeaf9856c5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 100 <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 101 <tr class="separator:a3b6bb4bbd86affe1ca9deceea1aad4f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 102 <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 103 <tr class="separator:a7f66f00437b21e5f694fe02356b12f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 104 </table><table class="memberdecls">
Chris@6 105 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Chris@1 106 Public Member Functions</h2></td></tr>
Chris@3 107 <tr class="memitem:a6535abd551acfbbaab381bbe1268cd49"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a6535abd551acfbbaab381bbe1268cd49">PluginHostAdapter</a> (const <a class="el" href="vamp_8h.html#aa1d6e0792099b9516a89b5fb7ed2ad2b">VampPluginDescriptor</a> *descriptor, float inputSampleRate)</td></tr>
Chris@6 108 <tr class="separator:a6535abd551acfbbaab381bbe1268cd49"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 109 <tr class="memitem:aed66c091340aa668d3be89c4b4c24474"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#aed66c091340aa668d3be89c4b4c24474">~PluginHostAdapter</a> ()</td></tr>
Chris@6 110 <tr class="separator:aed66c091340aa668d3be89c4b4c24474"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 111 <tr class="memitem:add6a2f1ee7e47bd97fa599cead14b738"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#add6a2f1ee7e47bd97fa599cead14b738">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr>
Chris@6 112 <tr class="memdesc:add6a2f1ee7e47bd97fa599cead14b738"><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="#add6a2f1ee7e47bd97fa599cead14b738">More...</a><br /></td></tr>
Chris@6 113 <tr class="separator:add6a2f1ee7e47bd97fa599cead14b738"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 114 <tr class="memitem:a5d54c5bbd76bc27b7a243827148afeaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a5d54c5bbd76bc27b7a243827148afeaa">reset</a> ()</td></tr>
Chris@6 115 <tr class="memdesc:a5d54c5bbd76bc27b7a243827148afeaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#a5d54c5bbd76bc27b7a243827148afeaa">More...</a><br /></td></tr>
Chris@6 116 <tr class="separator:a5d54c5bbd76bc27b7a243827148afeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 117 <tr class="memitem:ae1364251d4110ad9538523b3373f8d5e"><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_1PluginHostAdapter.html#ae1364251d4110ad9538523b3373f8d5e">getInputDomain</a> () const</td></tr>
Chris@6 118 <tr class="memdesc:ae1364251d4110ad9538523b3373f8d5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the plugin's required input domain. <a href="#ae1364251d4110ad9538523b3373f8d5e">More...</a><br /></td></tr>
Chris@6 119 <tr class="separator:ae1364251d4110ad9538523b3373f8d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 120 <tr class="memitem:adc708325d057516bd92d5ea1c0808dbc"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#adc708325d057516bd92d5ea1c0808dbc">getVampApiVersion</a> () const</td></tr>
Chris@6 121 <tr class="memdesc:adc708325d057516bd92d5ea1c0808dbc"><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="#adc708325d057516bd92d5ea1c0808dbc">More...</a><br /></td></tr>
Chris@6 122 <tr class="separator:adc708325d057516bd92d5ea1c0808dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 123 <tr class="memitem:a68749b61d8a4e322d7ce6662347817ca"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a68749b61d8a4e322d7ce6662347817ca">getIdentifier</a> () const</td></tr>
Chris@6 124 <tr class="memdesc:a68749b61d8a4e322d7ce6662347817ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#a68749b61d8a4e322d7ce6662347817ca">More...</a><br /></td></tr>
Chris@6 125 <tr class="separator:a68749b61d8a4e322d7ce6662347817ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 126 <tr class="memitem:a6276b0838a3a9ac155d295cae0e7bb67"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a6276b0838a3a9ac155d295cae0e7bb67">getName</a> () const</td></tr>
Chris@6 127 <tr class="memdesc:a6276b0838a3a9ac155d295cae0e7bb67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#a6276b0838a3a9ac155d295cae0e7bb67">More...</a><br /></td></tr>
Chris@6 128 <tr class="separator:a6276b0838a3a9ac155d295cae0e7bb67"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 129 <tr class="memitem:aae795d71594901243de8cda96d871fc8"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#aae795d71594901243de8cda96d871fc8">getDescription</a> () const</td></tr>
Chris@6 130 <tr class="memdesc:aae795d71594901243de8cda96d871fc8"><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="#aae795d71594901243de8cda96d871fc8">More...</a><br /></td></tr>
Chris@6 131 <tr class="separator:aae795d71594901243de8cda96d871fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 132 <tr class="memitem:ac906c3a0eef77f545fb4dad2456ee2b4"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#ac906c3a0eef77f545fb4dad2456ee2b4">getMaker</a> () const</td></tr>
Chris@6 133 <tr class="memdesc:ac906c3a0eef77f545fb4dad2456ee2b4"><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="#ac906c3a0eef77f545fb4dad2456ee2b4">More...</a><br /></td></tr>
Chris@6 134 <tr class="separator:ac906c3a0eef77f545fb4dad2456ee2b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 135 <tr class="memitem:a5e774f5b0e86293714c0506676d4fa62"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a5e774f5b0e86293714c0506676d4fa62">getPluginVersion</a> () const</td></tr>
Chris@6 136 <tr class="memdesc:a5e774f5b0e86293714c0506676d4fa62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version number of the plugin. <a href="#a5e774f5b0e86293714c0506676d4fa62">More...</a><br /></td></tr>
Chris@6 137 <tr class="separator:a5e774f5b0e86293714c0506676d4fa62"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 138 <tr class="memitem:a6f68665c4c00bb55e4736a091a68d9a9"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a6f68665c4c00bb55e4736a091a68d9a9">getCopyright</a> () const</td></tr>
Chris@6 139 <tr class="memdesc:a6f68665c4c00bb55e4736a091a68d9a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#a6f68665c4c00bb55e4736a091a68d9a9">More...</a><br /></td></tr>
Chris@6 140 <tr class="separator:a6f68665c4c00bb55e4736a091a68d9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 141 <tr class="memitem:a8f2b1c45be01169414bc86b685f4508e"><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_1PluginHostAdapter.html#a8f2b1c45be01169414bc86b685f4508e">getParameterDescriptors</a> () const</td></tr>
Chris@6 142 <tr class="memdesc:a8f2b1c45be01169414bc86b685f4508e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#a8f2b1c45be01169414bc86b685f4508e">More...</a><br /></td></tr>
Chris@6 143 <tr class="separator:a8f2b1c45be01169414bc86b685f4508e"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 144 <tr class="memitem:a97149b60fb9d7c4359262ba8f6ff9743"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a97149b60fb9d7c4359262ba8f6ff9743">getParameter</a> (std::string) const</td></tr>
Chris@6 145 <tr class="memdesc:a97149b60fb9d7c4359262ba8f6ff9743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of a named parameter. <a href="#a97149b60fb9d7c4359262ba8f6ff9743">More...</a><br /></td></tr>
Chris@6 146 <tr class="separator:a97149b60fb9d7c4359262ba8f6ff9743"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 147 <tr class="memitem:a29f75395aa75b9de0228aa11edf9c6d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a29f75395aa75b9de0228aa11edf9c6d6">setParameter</a> (std::string, float)</td></tr>
Chris@6 148 <tr class="memdesc:a29f75395aa75b9de0228aa11edf9c6d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a named parameter. <a href="#a29f75395aa75b9de0228aa11edf9c6d6">More...</a><br /></td></tr>
Chris@6 149 <tr class="separator:a29f75395aa75b9de0228aa11edf9c6d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 150 <tr class="memitem:a1e3c40e9b9d8dc876d2e732976950c4b"><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_1PluginHostAdapter.html#a1e3c40e9b9d8dc876d2e732976950c4b">getPrograms</a> () const</td></tr>
Chris@6 151 <tr class="memdesc:a1e3c40e9b9d8dc876d2e732976950c4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the program settings available in this plugin. <a href="#a1e3c40e9b9d8dc876d2e732976950c4b">More...</a><br /></td></tr>
Chris@6 152 <tr class="separator:a1e3c40e9b9d8dc876d2e732976950c4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 153 <tr class="memitem:abf984c347c4dac9e4b01123498bfe68f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#abf984c347c4dac9e4b01123498bfe68f">getCurrentProgram</a> () const</td></tr>
Chris@6 154 <tr class="memdesc:abf984c347c4dac9e4b01123498bfe68f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current program. <a href="#abf984c347c4dac9e4b01123498bfe68f">More...</a><br /></td></tr>
Chris@6 155 <tr class="separator:abf984c347c4dac9e4b01123498bfe68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 156 <tr class="memitem:a8f5515ab34cc13d9403ccc6b4b788683"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a8f5515ab34cc13d9403ccc6b4b788683">selectProgram</a> (std::string)</td></tr>
Chris@6 157 <tr class="memdesc:a8f5515ab34cc13d9403ccc6b4b788683"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a program. <a href="#a8f5515ab34cc13d9403ccc6b4b788683">More...</a><br /></td></tr>
Chris@6 158 <tr class="separator:a8f5515ab34cc13d9403ccc6b4b788683"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 159 <tr class="memitem:a344c85cc017c97bf4f0f144e7d6e0f42"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a344c85cc017c97bf4f0f144e7d6e0f42">getPreferredStepSize</a> () const</td></tr>
Chris@6 160 <tr class="memdesc:a344c85cc017c97bf4f0f144e7d6e0f42"><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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" title="Process a single block of input data. ">process()</a> function) for the plugin. <a href="#a344c85cc017c97bf4f0f144e7d6e0f42">More...</a><br /></td></tr>
Chris@6 161 <tr class="separator:a344c85cc017c97bf4f0f144e7d6e0f42"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 162 <tr class="memitem:a9ee8ecc8406f633c68e9aa1516700332"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a9ee8ecc8406f633c68e9aa1516700332">getPreferredBlockSize</a> () const</td></tr>
Chris@6 163 <tr class="memdesc:a9ee8ecc8406f633c68e9aa1516700332"><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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" title="Process a single block of input data. ">process()</a> function). <a href="#a9ee8ecc8406f633c68e9aa1516700332">More...</a><br /></td></tr>
Chris@6 164 <tr class="separator:a9ee8ecc8406f633c68e9aa1516700332"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 165 <tr class="memitem:a8e7f62e03adea0321080839f6ef6c77b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a8e7f62e03adea0321080839f6ef6c77b">getMinChannelCount</a> () const</td></tr>
Chris@6 166 <tr class="memdesc:a8e7f62e03adea0321080839f6ef6c77b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#a8e7f62e03adea0321080839f6ef6c77b">More...</a><br /></td></tr>
Chris@6 167 <tr class="separator:a8e7f62e03adea0321080839f6ef6c77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 168 <tr class="memitem:a626ad6e35eb0f4ed93bc3c6d976cdca4"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a626ad6e35eb0f4ed93bc3c6d976cdca4">getMaxChannelCount</a> () const</td></tr>
Chris@6 169 <tr class="memdesc:a626ad6e35eb0f4ed93bc3c6d976cdca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#a626ad6e35eb0f4ed93bc3c6d976cdca4">More...</a><br /></td></tr>
Chris@6 170 <tr class="separator:a626ad6e35eb0f4ed93bc3c6d976cdca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 171 <tr class="memitem:ad799e6317c4caf1a1c55b172ed6cc1fc"><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_1PluginHostAdapter.html#ad799e6317c4caf1a1c55b172ed6cc1fc">getOutputDescriptors</a> () const</td></tr>
Chris@6 172 <tr class="memdesc:ad799e6317c4caf1a1c55b172ed6cc1fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the outputs of this plugin. <a href="#ad799e6317c4caf1a1c55b172ed6cc1fc">More...</a><br /></td></tr>
Chris@6 173 <tr class="separator:ad799e6317c4caf1a1c55b172ed6cc1fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 174 <tr class="memitem:a38fe1080b343ba10e5d8a4b30c87cbdd"><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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr>
Chris@6 175 <tr class="memdesc:a38fe1080b343ba10e5d8a4b30c87cbdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Process a single block of input data. <a href="#a38fe1080b343ba10e5d8a4b30c87cbdd">More...</a><br /></td></tr>
Chris@6 176 <tr class="separator:a38fe1080b343ba10e5d8a4b30c87cbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 177 <tr class="memitem:a984a4c11f3fbdcfd90e4837b1619a5ab"><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_1PluginHostAdapter.html#a984a4c11f3fbdcfd90e4837b1619a5ab">getRemainingFeatures</a> ()</td></tr>
Chris@6 178 <tr class="memdesc:a984a4c11f3fbdcfd90e4837b1619a5ab"><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="#a984a4c11f3fbdcfd90e4837b1619a5ab">More...</a><br /></td></tr>
Chris@6 179 <tr class="separator:a984a4c11f3fbdcfd90e4837b1619a5ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 180 <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 181 <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 182 <tr class="separator:a530123068767a8728c568ffccfe3e4e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@6 183 </table><table class="memberdecls">
Chris@6 184 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Chris@1 185 Static Public Member Functions</h2></td></tr>
Chris@3 186 <tr class="memitem:a09cbfb7903d28f10d6d556c6cb81c5f6"><td class="memItemLeft" align="right" valign="top">static std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a09cbfb7903d28f10d6d556c6cb81c5f6">getPluginPath</a> ()</td></tr>
Chris@6 187 <tr class="separator:a09cbfb7903d28f10d6d556c6cb81c5f6"><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:aee417a4c9ba9dbb63777c963d5f9452a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#aee417a4c9ba9dbb63777c963d5f9452a">convertFeatures</a> (<a class="el" href="vamp_8h.html#a5f257e3f8b5ca1ca4c159d486e219078">VampFeatureList</a> *, <a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> &amp;)</td></tr>
Chris@6 192 <tr class="separator:aee417a4c9ba9dbb63777c963d5f9452a"><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:a0c9f252aca8ac298e30cadd0de032ec2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="vamp_8h.html#aa1d6e0792099b9516a89b5fb7ed2ad2b">VampPluginDescriptor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a0c9f252aca8ac298e30cadd0de032ec2">m_descriptor</a></td></tr>
Chris@6 197 <tr class="separator:a0c9f252aca8ac298e30cadd0de032ec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 198 <tr class="memitem:a02ebd03b226b4a467cad747ce77e79ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vamp_8h.html#ad3be2952b1f4ad7d775940a6db75c79b">VampPluginHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#a02ebd03b226b4a467cad747ce77e79ee">m_handle</a></td></tr>
Chris@6 199 <tr class="separator:a02ebd03b226b4a467cad747ce77e79ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@3 200 <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 201 <tr class="separator:a59b9dd82a4f4eb946cd0474cc81abc23"><td class="memSeparator" colspan="2">&#160;</td></tr>
Chris@1 202 </table>
Chris@6 203 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
Chris@1 204 <div class="textblock"><p><a class="el" href="classVamp_1_1PluginHostAdapter.html" title="PluginHostAdapter is a wrapper class that a Vamp host can use to make the C-language VampPluginDescri...">PluginHostAdapter</a> is a wrapper class that a <a class="el" href="namespaceVamp.html">Vamp</a> host can use to make the C-language VampPluginDescriptor object appear as a C++ <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> object. </p>
Chris@1 205 <p>The <a class="el" href="namespaceVamp.html">Vamp</a> API is defined in <a class="el" href="vamp_8h.html">vamp/vamp.h</a> as a C API. The C++ objects used for convenience by plugins and hosts actually communicate using the C low-level API, but the details of this communication are handled seamlessly by the <a class="el" href="namespaceVamp.html">Vamp</a> SDK implementation provided the plugin and host use the proper C++ wrapper objects.</p>
Chris@1 206 <p>See also <a class="el" href="classVamp_1_1PluginAdapter.html" title="PluginAdapter turns a PluginAdapterBase into a specific wrapper for a particular plugin implementatio...">PluginAdapter</a>, the plugin-side wrapper that makes a C++ plugin object available using the C query API. </p>
Chris@1 207
Chris@6 208 <p class="definition">Definition at line <a class="el" href="PluginHostAdapter_8h_source.html#l00068">68</a> of file <a class="el" href="PluginHostAdapter_8h_source.html">PluginHostAdapter.h</a>.</p>
Chris@6 209 </div><h2 class="groupheader">Member Typedef Documentation</h2>
Chris@6 210 <a id="a30f531b8fb69fac41a24e3d2a6a08ed9"></a>
Chris@6 211 <h2 class="memtitle"><span class="permalink"><a href="#a30f531b8fb69fac41a24e3d2a6a08ed9">&#9670;&nbsp;</a></span>OutputList</h2>
Chris@6 212
Chris@6 213 <div class="memitem">
Chris@6 214 <div class="memproto">
Chris@6 215 <table class="mlabels">
Chris@6 216 <tr>
Chris@6 217 <td class="mlabels-left">
Chris@6 218 <table class="memname">
Chris@6 219 <tr>
Chris@6 220 <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 221 </tr>
Chris@6 222 </table>
Chris@6 223 </td>
Chris@6 224 <td class="mlabels-right">
Chris@6 225 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 226 </tr>
Chris@6 227 </table>
Chris@6 228 </div><div class="memdoc">
Chris@6 229
Chris@6 230 <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 231
Chris@6 232 </div>
Chris@6 233 </div>
Chris@6 234 <a id="a0730bc72c87fa02eb8d2854b233f7be1"></a>
Chris@6 235 <h2 class="memtitle"><span class="permalink"><a href="#a0730bc72c87fa02eb8d2854b233f7be1">&#9670;&nbsp;</a></span>FeatureList</h2>
Chris@6 236
Chris@6 237 <div class="memitem">
Chris@6 238 <div class="memproto">
Chris@6 239 <table class="mlabels">
Chris@6 240 <tr>
Chris@6 241 <td class="mlabels-left">
Chris@6 242 <table class="memname">
Chris@6 243 <tr>
Chris@6 244 <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 245 </tr>
Chris@6 246 </table>
Chris@6 247 </td>
Chris@6 248 <td class="mlabels-right">
Chris@6 249 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 250 </tr>
Chris@6 251 </table>
Chris@6 252 </div><div class="memdoc">
Chris@6 253
Chris@6 254 <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 255
Chris@6 256 </div>
Chris@6 257 </div>
Chris@6 258 <a id="a448fb57dc245d47923ec9eeaf9856c5f"></a>
Chris@6 259 <h2 class="memtitle"><span class="permalink"><a href="#a448fb57dc245d47923ec9eeaf9856c5f">&#9670;&nbsp;</a></span>FeatureSet</h2>
Chris@6 260
Chris@6 261 <div class="memitem">
Chris@6 262 <div class="memproto">
Chris@6 263 <table class="mlabels">
Chris@6 264 <tr>
Chris@6 265 <td class="mlabels-left">
Chris@6 266 <table class="memname">
Chris@6 267 <tr>
Chris@6 268 <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 269 </tr>
Chris@6 270 </table>
Chris@6 271 </td>
Chris@6 272 <td class="mlabels-right">
Chris@6 273 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 274 </tr>
Chris@6 275 </table>
Chris@6 276 </div><div class="memdoc">
Chris@6 277
Chris@6 278 <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 279
Chris@6 280 </div>
Chris@6 281 </div>
Chris@6 282 <a id="a3b6bb4bbd86affe1ca9deceea1aad4f8"></a>
Chris@6 283 <h2 class="memtitle"><span class="permalink"><a href="#a3b6bb4bbd86affe1ca9deceea1aad4f8">&#9670;&nbsp;</a></span>ParameterList</h2>
Chris@6 284
Chris@6 285 <div class="memitem">
Chris@6 286 <div class="memproto">
Chris@6 287 <table class="mlabels">
Chris@6 288 <tr>
Chris@6 289 <td class="mlabels-left">
Chris@6 290 <table class="memname">
Chris@6 291 <tr>
Chris@6 292 <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 293 </tr>
Chris@6 294 </table>
Chris@6 295 </td>
Chris@6 296 <td class="mlabels-right">
Chris@6 297 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 298 </tr>
Chris@6 299 </table>
Chris@6 300 </div><div class="memdoc">
Chris@6 301
Chris@6 302 <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 303
Chris@6 304 </div>
Chris@6 305 </div>
Chris@6 306 <a id="a7f66f00437b21e5f694fe02356b12f20"></a>
Chris@6 307 <h2 class="memtitle"><span class="permalink"><a href="#a7f66f00437b21e5f694fe02356b12f20">&#9670;&nbsp;</a></span>ProgramList</h2>
Chris@6 308
Chris@6 309 <div class="memitem">
Chris@6 310 <div class="memproto">
Chris@6 311 <table class="mlabels">
Chris@6 312 <tr>
Chris@6 313 <td class="mlabels-left">
Chris@6 314 <table class="memname">
Chris@6 315 <tr>
Chris@6 316 <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 317 </tr>
Chris@6 318 </table>
Chris@6 319 </td>
Chris@6 320 <td class="mlabels-right">
Chris@6 321 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 322 </tr>
Chris@6 323 </table>
Chris@6 324 </div><div class="memdoc">
Chris@6 325
Chris@6 326 <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 327
Chris@6 328 </div>
Chris@6 329 </div>
Chris@6 330 <h2 class="groupheader">Member Enumeration Documentation</h2>
Chris@6 331 <a id="a39cb7649d6dcc20e4cb1640cd55907bc"></a>
Chris@6 332 <h2 class="memtitle"><span class="permalink"><a href="#a39cb7649d6dcc20e4cb1640cd55907bc">&#9670;&nbsp;</a></span>InputDomain</h2>
Chris@6 333
Chris@6 334 <div class="memitem">
Chris@6 335 <div class="memproto">
Chris@6 336 <table class="mlabels">
Chris@6 337 <tr>
Chris@6 338 <td class="mlabels-left">
Chris@6 339 <table class="memname">
Chris@6 340 <tr>
Chris@6 341 <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a></td>
Chris@6 342 </tr>
Chris@6 343 </table>
Chris@6 344 </td>
Chris@6 345 <td class="mlabels-right">
Chris@6 346 <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
Chris@6 347 </tr>
Chris@6 348 </table>
Chris@6 349 </div><div class="memdoc">
Chris@6 350 <table class="fieldtable">
Chris@6 351 <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 352 <tr><td class="fieldname"><a id="a39cb7649d6dcc20e4cb1640cd55907bcaa30e7877ab33f76acbdca28607e6ab53"></a>FrequencyDomain&#160;</td><td class="fielddoc"></td></tr>
Chris@6 353 </table>
Chris@6 354
Chris@6 355 <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 356
Chris@6 357 </div>
Chris@6 358 </div>
Chris@6 359 <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
Chris@6 360 <a id="a6535abd551acfbbaab381bbe1268cd49"></a>
Chris@6 361 <h2 class="memtitle"><span class="permalink"><a href="#a6535abd551acfbbaab381bbe1268cd49">&#9670;&nbsp;</a></span>PluginHostAdapter()</h2>
Chris@6 362
Chris@1 363 <div class="memitem">
Chris@1 364 <div class="memproto">
Chris@1 365 <table class="memname">
Chris@1 366 <tr>
Chris@6 367 <td class="memname">Vamp::PluginHostAdapter::PluginHostAdapter </td>
Chris@1 368 <td>(</td>
Chris@1 369 <td class="paramtype">const <a class="el" href="vamp_8h.html#aa1d6e0792099b9516a89b5fb7ed2ad2b">VampPluginDescriptor</a> *&#160;</td>
Chris@1 370 <td class="paramname"><em>descriptor</em>, </td>
Chris@1 371 </tr>
Chris@1 372 <tr>
Chris@1 373 <td class="paramkey"></td>
Chris@1 374 <td></td>
Chris@1 375 <td class="paramtype">float&#160;</td>
Chris@1 376 <td class="paramname"><em>inputSampleRate</em>&#160;</td>
Chris@1 377 </tr>
Chris@1 378 <tr>
Chris@1 379 <td></td>
Chris@1 380 <td>)</td>
Chris@1 381 <td></td><td></td>
Chris@1 382 </tr>
Chris@1 383 </table>
Chris@6 384 </div><div class="memdoc">
Chris@1 385
Chris@1 386 </div>
Chris@1 387 </div>
Chris@6 388 <a id="aed66c091340aa668d3be89c4b4c24474"></a>
Chris@6 389 <h2 class="memtitle"><span class="permalink"><a href="#aed66c091340aa668d3be89c4b4c24474">&#9670;&nbsp;</a></span>~PluginHostAdapter()</h2>
Chris@6 390
Chris@1 391 <div class="memitem">
Chris@1 392 <div class="memproto">
Chris@6 393 <table class="mlabels">
Chris@6 394 <tr>
Chris@6 395 <td class="mlabels-left">
Chris@1 396 <table class="memname">
Chris@1 397 <tr>
Chris@6 398 <td class="memname">virtual Vamp::PluginHostAdapter::~PluginHostAdapter </td>
Chris@1 399 <td>(</td>
Chris@1 400 <td class="paramname"></td><td>)</td>
Chris@6 401 <td></td>
Chris@1 402 </tr>
Chris@1 403 </table>
Chris@6 404 </td>
Chris@6 405 <td class="mlabels-right">
Chris@6 406 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 407 </tr>
Chris@6 408 </table>
Chris@6 409 </div><div class="memdoc">
Chris@1 410
Chris@1 411 </div>
Chris@1 412 </div>
Chris@6 413 <h2 class="groupheader">Member Function Documentation</h2>
Chris@6 414 <a id="a09cbfb7903d28f10d6d556c6cb81c5f6"></a>
Chris@6 415 <h2 class="memtitle"><span class="permalink"><a href="#a09cbfb7903d28f10d6d556c6cb81c5f6">&#9670;&nbsp;</a></span>getPluginPath()</h2>
Chris@6 416
Chris@1 417 <div class="memitem">
Chris@1 418 <div class="memproto">
Chris@6 419 <table class="mlabels">
Chris@6 420 <tr>
Chris@6 421 <td class="mlabels-left">
Chris@1 422 <table class="memname">
Chris@1 423 <tr>
Chris@6 424 <td class="memname">static std::vector&lt;std::string&gt; Vamp::PluginHostAdapter::getPluginPath </td>
Chris@1 425 <td>(</td>
Chris@1 426 <td class="paramname"></td><td>)</td>
Chris@6 427 <td></td>
Chris@1 428 </tr>
Chris@1 429 </table>
Chris@6 430 </td>
Chris@6 431 <td class="mlabels-right">
Chris@6 432 <span class="mlabels"><span class="mlabel">static</span></span> </td>
Chris@6 433 </tr>
Chris@6 434 </table>
Chris@6 435 </div><div class="memdoc">
Chris@1 436
Chris@1 437 </div>
Chris@1 438 </div>
Chris@6 439 <a id="add6a2f1ee7e47bd97fa599cead14b738"></a>
Chris@6 440 <h2 class="memtitle"><span class="permalink"><a href="#add6a2f1ee7e47bd97fa599cead14b738">&#9670;&nbsp;</a></span>initialise()</h2>
Chris@6 441
Chris@1 442 <div class="memitem">
Chris@1 443 <div class="memproto">
Chris@6 444 <table class="mlabels">
Chris@6 445 <tr>
Chris@6 446 <td class="mlabels-left">
Chris@1 447 <table class="memname">
Chris@1 448 <tr>
Chris@6 449 <td class="memname">bool Vamp::PluginHostAdapter::initialise </td>
Chris@1 450 <td>(</td>
Chris@1 451 <td class="paramtype">size_t&#160;</td>
Chris@1 452 <td class="paramname"><em>inputChannels</em>, </td>
Chris@1 453 </tr>
Chris@1 454 <tr>
Chris@1 455 <td class="paramkey"></td>
Chris@1 456 <td></td>
Chris@1 457 <td class="paramtype">size_t&#160;</td>
Chris@1 458 <td class="paramname"><em>stepSize</em>, </td>
Chris@1 459 </tr>
Chris@1 460 <tr>
Chris@1 461 <td class="paramkey"></td>
Chris@1 462 <td></td>
Chris@1 463 <td class="paramtype">size_t&#160;</td>
Chris@1 464 <td class="paramname"><em>blockSize</em>&#160;</td>
Chris@1 465 </tr>
Chris@1 466 <tr>
Chris@1 467 <td></td>
Chris@1 468 <td>)</td>
Chris@6 469 <td></td><td></td>
Chris@1 470 </tr>
Chris@1 471 </table>
Chris@6 472 </td>
Chris@6 473 <td class="mlabels-right">
Chris@6 474 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 475 </tr>
Chris@6 476 </table>
Chris@6 477 </div><div class="memdoc">
Chris@1 478
Chris@1 479 <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 480 <p>The input sample rate should have been already specified at construction time.</p>
Chris@1 481 <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 482
Chris@1 483 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#af26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p>
Chris@1 484
Chris@1 485 </div>
Chris@1 486 </div>
Chris@6 487 <a id="a5d54c5bbd76bc27b7a243827148afeaa"></a>
Chris@6 488 <h2 class="memtitle"><span class="permalink"><a href="#a5d54c5bbd76bc27b7a243827148afeaa">&#9670;&nbsp;</a></span>reset()</h2>
Chris@6 489
Chris@1 490 <div class="memitem">
Chris@1 491 <div class="memproto">
Chris@6 492 <table class="mlabels">
Chris@6 493 <tr>
Chris@6 494 <td class="mlabels-left">
Chris@1 495 <table class="memname">
Chris@1 496 <tr>
Chris@6 497 <td class="memname">void Vamp::PluginHostAdapter::reset </td>
Chris@1 498 <td>(</td>
Chris@1 499 <td class="paramname"></td><td>)</td>
Chris@6 500 <td></td>
Chris@1 501 </tr>
Chris@1 502 </table>
Chris@6 503 </td>
Chris@6 504 <td class="mlabels-right">
Chris@6 505 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 506 </tr>
Chris@6 507 </table>
Chris@6 508 </div><div class="memdoc">
Chris@1 509
Chris@1 510 <p>Reset the plugin after use, to prepare it for another clean run. </p>
Chris@1 511 <p>Not called for the first initialisation (i.e. initialise must also do a reset). </p>
Chris@1 512
Chris@1 513 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p>
Chris@1 514
Chris@1 515 </div>
Chris@1 516 </div>
Chris@6 517 <a id="ae1364251d4110ad9538523b3373f8d5e"></a>
Chris@6 518 <h2 class="memtitle"><span class="permalink"><a href="#ae1364251d4110ad9538523b3373f8d5e">&#9670;&nbsp;</a></span>getInputDomain()</h2>
Chris@6 519
Chris@1 520 <div class="memitem">
Chris@1 521 <div class="memproto">
Chris@6 522 <table class="mlabels">
Chris@6 523 <tr>
Chris@6 524 <td class="mlabels-left">
Chris@1 525 <table class="memname">
Chris@1 526 <tr>
Chris@6 527 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> Vamp::PluginHostAdapter::getInputDomain </td>
Chris@1 528 <td>(</td>
Chris@1 529 <td class="paramname"></td><td>)</td>
Chris@6 530 <td> const</td>
Chris@1 531 </tr>
Chris@1 532 </table>
Chris@6 533 </td>
Chris@6 534 <td class="mlabels-right">
Chris@6 535 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 536 </tr>
Chris@6 537 </table>
Chris@6 538 </div><div class="memdoc">
Chris@1 539
Chris@1 540 <p>Get the plugin's required input domain. </p>
Chris@6 541 <p>If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" 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 542 <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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" 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 543
Chris@1 544 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p>
Chris@1 545
Chris@1 546 </div>
Chris@1 547 </div>
Chris@6 548 <a id="adc708325d057516bd92d5ea1c0808dbc"></a>
Chris@6 549 <h2 class="memtitle"><span class="permalink"><a href="#adc708325d057516bd92d5ea1c0808dbc">&#9670;&nbsp;</a></span>getVampApiVersion()</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">unsigned int Vamp::PluginHostAdapter::getVampApiVersion </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 <a class="el" href="namespaceVamp.html">Vamp</a> API compatibility level of the plugin. </p>
Chris@1 572
Chris@6 573 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#ab4aa9c3e6f6dd9addbc095463c9fb772">Vamp::PluginBase</a>.</p>
Chris@1 574
Chris@1 575 </div>
Chris@1 576 </div>
Chris@6 577 <a id="a68749b61d8a4e322d7ce6662347817ca"></a>
Chris@6 578 <h2 class="memtitle"><span class="permalink"><a href="#a68749b61d8a4e322d7ce6662347817ca">&#9670;&nbsp;</a></span>getIdentifier()</h2>
Chris@6 579
Chris@1 580 <div class="memitem">
Chris@1 581 <div class="memproto">
Chris@6 582 <table class="mlabels">
Chris@6 583 <tr>
Chris@6 584 <td class="mlabels-left">
Chris@1 585 <table class="memname">
Chris@1 586 <tr>
Chris@6 587 <td class="memname">std::string Vamp::PluginHostAdapter::getIdentifier </td>
Chris@1 588 <td>(</td>
Chris@1 589 <td class="paramname"></td><td>)</td>
Chris@6 590 <td> const</td>
Chris@1 591 </tr>
Chris@1 592 </table>
Chris@6 593 </td>
Chris@6 594 <td class="mlabels-right">
Chris@6 595 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 596 </tr>
Chris@6 597 </table>
Chris@6 598 </div><div class="memdoc">
Chris@1 599
Chris@1 600 <p>Get the computer-usable name of the plugin. </p>
Chris@1 601 <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 602 <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 603 <p>Example: "zero_crossings" </p>
Chris@1 604
Chris@1 605 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ad1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p>
Chris@1 606
Chris@1 607 </div>
Chris@1 608 </div>
Chris@6 609 <a id="a6276b0838a3a9ac155d295cae0e7bb67"></a>
Chris@6 610 <h2 class="memtitle"><span class="permalink"><a href="#a6276b0838a3a9ac155d295cae0e7bb67">&#9670;&nbsp;</a></span>getName()</h2>
Chris@6 611
Chris@1 612 <div class="memitem">
Chris@1 613 <div class="memproto">
Chris@6 614 <table class="mlabels">
Chris@6 615 <tr>
Chris@6 616 <td class="mlabels-left">
Chris@1 617 <table class="memname">
Chris@1 618 <tr>
Chris@6 619 <td class="memname">std::string Vamp::PluginHostAdapter::getName </td>
Chris@1 620 <td>(</td>
Chris@1 621 <td class="paramname"></td><td>)</td>
Chris@6 622 <td> const</td>
Chris@1 623 </tr>
Chris@1 624 </table>
Chris@6 625 </td>
Chris@6 626 <td class="mlabels-right">
Chris@6 627 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 628 </tr>
Chris@6 629 </table>
Chris@6 630 </div><div class="memdoc">
Chris@1 631
Chris@1 632 <p>Get a human-readable name or title of the plugin. </p>
Chris@1 633 <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 634 <p>Example: "Zero Crossings" </p>
Chris@1 635
Chris@1 636 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p>
Chris@1 637
Chris@1 638 </div>
Chris@1 639 </div>
Chris@6 640 <a id="aae795d71594901243de8cda96d871fc8"></a>
Chris@6 641 <h2 class="memtitle"><span class="permalink"><a href="#aae795d71594901243de8cda96d871fc8">&#9670;&nbsp;</a></span>getDescription()</h2>
Chris@6 642
Chris@1 643 <div class="memitem">
Chris@1 644 <div class="memproto">
Chris@6 645 <table class="mlabels">
Chris@6 646 <tr>
Chris@6 647 <td class="mlabels-left">
Chris@1 648 <table class="memname">
Chris@1 649 <tr>
Chris@6 650 <td class="memname">std::string Vamp::PluginHostAdapter::getDescription </td>
Chris@1 651 <td>(</td>
Chris@1 652 <td class="paramname"></td><td>)</td>
Chris@6 653 <td> const</td>
Chris@1 654 </tr>
Chris@1 655 </table>
Chris@6 656 </td>
Chris@6 657 <td class="mlabels-right">
Chris@6 658 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 659 </tr>
Chris@6 660 </table>
Chris@6 661 </div><div class="memdoc">
Chris@1 662
Chris@1 663 <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 664 <p>May be empty if the name has said it all already.</p>
Chris@1 665 <p>Example: "Detect and count zero crossing points" </p>
Chris@1 666
Chris@1 667 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p>
Chris@1 668
Chris@1 669 </div>
Chris@1 670 </div>
Chris@6 671 <a id="ac906c3a0eef77f545fb4dad2456ee2b4"></a>
Chris@6 672 <h2 class="memtitle"><span class="permalink"><a href="#ac906c3a0eef77f545fb4dad2456ee2b4">&#9670;&nbsp;</a></span>getMaker()</h2>
Chris@6 673
Chris@1 674 <div class="memitem">
Chris@1 675 <div class="memproto">
Chris@6 676 <table class="mlabels">
Chris@6 677 <tr>
Chris@6 678 <td class="mlabels-left">
Chris@1 679 <table class="memname">
Chris@1 680 <tr>
Chris@6 681 <td class="memname">std::string Vamp::PluginHostAdapter::getMaker </td>
Chris@1 682 <td>(</td>
Chris@1 683 <td class="paramname"></td><td>)</td>
Chris@6 684 <td> const</td>
Chris@1 685 </tr>
Chris@1 686 </table>
Chris@6 687 </td>
Chris@6 688 <td class="mlabels-right">
Chris@6 689 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 690 </tr>
Chris@6 691 </table>
Chris@6 692 </div><div class="memdoc">
Chris@1 693
Chris@1 694 <p>Get the name of the author or vendor of the plugin in human-readable form. </p>
Chris@1 695 <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 696
Chris@1 697 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p>
Chris@1 698
Chris@1 699 </div>
Chris@1 700 </div>
Chris@6 701 <a id="a5e774f5b0e86293714c0506676d4fa62"></a>
Chris@6 702 <h2 class="memtitle"><span class="permalink"><a href="#a5e774f5b0e86293714c0506676d4fa62">&#9670;&nbsp;</a></span>getPluginVersion()</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">int Vamp::PluginHostAdapter::getPluginVersion </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 version number of the plugin. </p>
Chris@1 725
Chris@1 726 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p>
Chris@1 727
Chris@1 728 </div>
Chris@1 729 </div>
Chris@6 730 <a id="a6f68665c4c00bb55e4736a091a68d9a9"></a>
Chris@6 731 <h2 class="memtitle"><span class="permalink"><a href="#a6f68665c4c00bb55e4736a091a68d9a9">&#9670;&nbsp;</a></span>getCopyright()</h2>
Chris@6 732
Chris@1 733 <div class="memitem">
Chris@1 734 <div class="memproto">
Chris@6 735 <table class="mlabels">
Chris@6 736 <tr>
Chris@6 737 <td class="mlabels-left">
Chris@1 738 <table class="memname">
Chris@1 739 <tr>
Chris@6 740 <td class="memname">std::string Vamp::PluginHostAdapter::getCopyright </td>
Chris@1 741 <td>(</td>
Chris@1 742 <td class="paramname"></td><td>)</td>
Chris@6 743 <td> const</td>
Chris@1 744 </tr>
Chris@1 745 </table>
Chris@6 746 </td>
Chris@6 747 <td class="mlabels-right">
Chris@6 748 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 749 </tr>
Chris@6 750 </table>
Chris@6 751 </div><div class="memdoc">
Chris@1 752
Chris@1 753 <p>Get the copyright statement or licensing summary for the plugin. </p>
Chris@1 754 <p>This can be an informative text, without the same presentation constraints as mentioned for getMaker above. </p>
Chris@1 755
Chris@1 756 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#ab7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p>
Chris@1 757
Chris@1 758 </div>
Chris@1 759 </div>
Chris@6 760 <a id="a8f2b1c45be01169414bc86b685f4508e"></a>
Chris@6 761 <h2 class="memtitle"><span class="permalink"><a href="#a8f2b1c45be01169414bc86b685f4508e">&#9670;&nbsp;</a></span>getParameterDescriptors()</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"><a class="el" href="classVamp_1_1PluginBase.html#a3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> Vamp::PluginHostAdapter::getParameterDescriptors </td>
Chris@1 771 <td>(</td>
Chris@1 772 <td class="paramname"></td><td>)</td>
Chris@6 773 <td> const</td>
Chris@1 774 </tr>
Chris@1 775 </table>
Chris@6 776 </td>
Chris@6 777 <td class="mlabels-right">
Chris@6 778 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 779 </tr>
Chris@6 780 </table>
Chris@6 781 </div><div class="memdoc">
Chris@1 782
Chris@1 783 <p>Get the controllable parameters of this plugin. </p>
Chris@1 784
Chris@6 785 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a0c24ff6a43c681198dc9497287a26e3a">Vamp::PluginBase</a>.</p>
Chris@1 786
Chris@1 787 </div>
Chris@1 788 </div>
Chris@6 789 <a id="a97149b60fb9d7c4359262ba8f6ff9743"></a>
Chris@6 790 <h2 class="memtitle"><span class="permalink"><a href="#a97149b60fb9d7c4359262ba8f6ff9743">&#9670;&nbsp;</a></span>getParameter()</h2>
Chris@6 791
Chris@1 792 <div class="memitem">
Chris@1 793 <div class="memproto">
Chris@6 794 <table class="mlabels">
Chris@6 795 <tr>
Chris@6 796 <td class="mlabels-left">
Chris@1 797 <table class="memname">
Chris@1 798 <tr>
Chris@6 799 <td class="memname">float Vamp::PluginHostAdapter::getParameter </td>
Chris@1 800 <td>(</td>
Chris@1 801 <td class="paramtype">std::string&#160;</td>
Chris@1 802 <td class="paramname"></td><td>)</td>
Chris@6 803 <td> const</td>
Chris@1 804 </tr>
Chris@1 805 </table>
Chris@6 806 </td>
Chris@6 807 <td class="mlabels-right">
Chris@6 808 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 809 </tr>
Chris@6 810 </table>
Chris@6 811 </div><div class="memdoc">
Chris@1 812
Chris@1 813 <p>Get the value of a named parameter. </p>
Chris@1 814 <p>The argument is the identifier field from that parameter's descriptor. </p>
Chris@1 815
Chris@6 816 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aa813d61077080ec95487d2a0227cc51b">Vamp::PluginBase</a>.</p>
Chris@1 817
Chris@1 818 </div>
Chris@1 819 </div>
Chris@6 820 <a id="a29f75395aa75b9de0228aa11edf9c6d6"></a>
Chris@6 821 <h2 class="memtitle"><span class="permalink"><a href="#a29f75395aa75b9de0228aa11edf9c6d6">&#9670;&nbsp;</a></span>setParameter()</h2>
Chris@6 822
Chris@1 823 <div class="memitem">
Chris@1 824 <div class="memproto">
Chris@6 825 <table class="mlabels">
Chris@6 826 <tr>
Chris@6 827 <td class="mlabels-left">
Chris@1 828 <table class="memname">
Chris@1 829 <tr>
Chris@6 830 <td class="memname">void Vamp::PluginHostAdapter::setParameter </td>
Chris@1 831 <td>(</td>
Chris@1 832 <td class="paramtype">std::string&#160;</td>
Chris@1 833 <td class="paramname">, </td>
Chris@1 834 </tr>
Chris@1 835 <tr>
Chris@1 836 <td class="paramkey"></td>
Chris@1 837 <td></td>
Chris@1 838 <td class="paramtype">float&#160;</td>
Chris@1 839 <td class="paramname">&#160;</td>
Chris@1 840 </tr>
Chris@1 841 <tr>
Chris@1 842 <td></td>
Chris@1 843 <td>)</td>
Chris@6 844 <td></td><td></td>
Chris@1 845 </tr>
Chris@1 846 </table>
Chris@6 847 </td>
Chris@6 848 <td class="mlabels-right">
Chris@6 849 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 850 </tr>
Chris@6 851 </table>
Chris@6 852 </div><div class="memdoc">
Chris@1 853
Chris@1 854 <p>Set a named parameter. </p>
Chris@1 855 <p>The first argument is the identifier field from that parameter's descriptor. </p>
Chris@1 856
Chris@1 857 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#a6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p>
Chris@1 858
Chris@1 859 </div>
Chris@1 860 </div>
Chris@6 861 <a id="a1e3c40e9b9d8dc876d2e732976950c4b"></a>
Chris@6 862 <h2 class="memtitle"><span class="permalink"><a href="#a1e3c40e9b9d8dc876d2e732976950c4b">&#9670;&nbsp;</a></span>getPrograms()</h2>
Chris@6 863
Chris@1 864 <div class="memitem">
Chris@1 865 <div class="memproto">
Chris@6 866 <table class="mlabels">
Chris@6 867 <tr>
Chris@6 868 <td class="mlabels-left">
Chris@1 869 <table class="memname">
Chris@1 870 <tr>
Chris@6 871 <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#a7f66f00437b21e5f694fe02356b12f20">ProgramList</a> Vamp::PluginHostAdapter::getPrograms </td>
Chris@1 872 <td>(</td>
Chris@1 873 <td class="paramname"></td><td>)</td>
Chris@6 874 <td> const</td>
Chris@1 875 </tr>
Chris@1 876 </table>
Chris@6 877 </td>
Chris@6 878 <td class="mlabels-right">
Chris@6 879 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 880 </tr>
Chris@6 881 </table>
Chris@6 882 </div><div class="memdoc">
Chris@1 883
Chris@1 884 <p>Get the program settings available in this plugin. </p>
Chris@1 885 <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 886 <p>The programs must have unique names. </p>
Chris@1 887
Chris@6 888 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aaf6febff0ab4daf4a5089c98a67f4df8">Vamp::PluginBase</a>.</p>
Chris@1 889
Chris@1 890 </div>
Chris@1 891 </div>
Chris@6 892 <a id="abf984c347c4dac9e4b01123498bfe68f"></a>
Chris@6 893 <h2 class="memtitle"><span class="permalink"><a href="#abf984c347c4dac9e4b01123498bfe68f">&#9670;&nbsp;</a></span>getCurrentProgram()</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">std::string Vamp::PluginHostAdapter::getCurrentProgram </td>
Chris@1 903 <td>(</td>
Chris@1 904 <td class="paramname"></td><td>)</td>
Chris@6 905 <td> const</td>
Chris@1 906 </tr>
Chris@1 907 </table>
Chris@6 908 </td>
Chris@6 909 <td class="mlabels-right">
Chris@6 910 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 911 </tr>
Chris@6 912 </table>
Chris@6 913 </div><div class="memdoc">
Chris@1 914
Chris@1 915 <p>Get the current program. </p>
Chris@1 916
Chris@6 917 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aac38c5dc6e87208616122897518ca3d5">Vamp::PluginBase</a>.</p>
Chris@1 918
Chris@1 919 </div>
Chris@1 920 </div>
Chris@6 921 <a id="a8f5515ab34cc13d9403ccc6b4b788683"></a>
Chris@6 922 <h2 class="memtitle"><span class="permalink"><a href="#a8f5515ab34cc13d9403ccc6b4b788683">&#9670;&nbsp;</a></span>selectProgram()</h2>
Chris@6 923
Chris@1 924 <div class="memitem">
Chris@1 925 <div class="memproto">
Chris@6 926 <table class="mlabels">
Chris@6 927 <tr>
Chris@6 928 <td class="mlabels-left">
Chris@1 929 <table class="memname">
Chris@1 930 <tr>
Chris@6 931 <td class="memname">void Vamp::PluginHostAdapter::selectProgram </td>
Chris@1 932 <td>(</td>
Chris@1 933 <td class="paramtype">std::string&#160;</td>
Chris@1 934 <td class="paramname"></td><td>)</td>
Chris@6 935 <td></td>
Chris@1 936 </tr>
Chris@1 937 </table>
Chris@6 938 </td>
Chris@6 939 <td class="mlabels-right">
Chris@6 940 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 941 </tr>
Chris@6 942 </table>
Chris@6 943 </div><div class="memdoc">
Chris@1 944
Chris@1 945 <p>Select a program. </p>
Chris@1 946 <p>(If the given program name is not one of the available programs, do nothing.) </p>
Chris@1 947
Chris@1 948 <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#aadd3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p>
Chris@1 949
Chris@1 950 </div>
Chris@1 951 </div>
Chris@6 952 <a id="a344c85cc017c97bf4f0f144e7d6e0f42"></a>
Chris@6 953 <h2 class="memtitle"><span class="permalink"><a href="#a344c85cc017c97bf4f0f144e7d6e0f42">&#9670;&nbsp;</a></span>getPreferredStepSize()</h2>
Chris@6 954
Chris@1 955 <div class="memitem">
Chris@1 956 <div class="memproto">
Chris@6 957 <table class="mlabels">
Chris@6 958 <tr>
Chris@6 959 <td class="mlabels-left">
Chris@1 960 <table class="memname">
Chris@1 961 <tr>
Chris@6 962 <td class="memname">size_t Vamp::PluginHostAdapter::getPreferredStepSize </td>
Chris@1 963 <td>(</td>
Chris@1 964 <td class="paramname"></td><td>)</td>
Chris@6 965 <td> const</td>
Chris@1 966 </tr>
Chris@1 967 </table>
Chris@6 968 </td>
Chris@6 969 <td class="mlabels-right">
Chris@6 970 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 971 </tr>
Chris@6 972 </table>
Chris@6 973 </div><div class="memdoc">
Chris@1 974
Chris@6 975 <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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" title="Process a single block of input data. ">process()</a> function) for the plugin. </p>
Chris@6 976 <p>This should be called before <a class="el" href="classVamp_1_1PluginHostAdapter.html#add6a2f1ee7e47bd97fa599cead14b738" 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 977 <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_1PluginHostAdapter.html#add6a2f1ee7e47bd97fa599cead14b738" 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 978
Chris@6 979 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a33eaf9a265bc3a055e156452112456c2">Vamp::Plugin</a>.</p>
Chris@1 980
Chris@1 981 </div>
Chris@1 982 </div>
Chris@6 983 <a id="a9ee8ecc8406f633c68e9aa1516700332"></a>
Chris@6 984 <h2 class="memtitle"><span class="permalink"><a href="#a9ee8ecc8406f633c68e9aa1516700332">&#9670;&nbsp;</a></span>getPreferredBlockSize()</h2>
Chris@6 985
Chris@1 986 <div class="memitem">
Chris@1 987 <div class="memproto">
Chris@6 988 <table class="mlabels">
Chris@6 989 <tr>
Chris@6 990 <td class="mlabels-left">
Chris@1 991 <table class="memname">
Chris@1 992 <tr>
Chris@6 993 <td class="memname">size_t Vamp::PluginHostAdapter::getPreferredBlockSize </td>
Chris@1 994 <td>(</td>
Chris@1 995 <td class="paramname"></td><td>)</td>
Chris@6 996 <td> const</td>
Chris@1 997 </tr>
Chris@1 998 </table>
Chris@6 999 </td>
Chris@6 1000 <td class="mlabels-right">
Chris@6 1001 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 1002 </tr>
Chris@6 1003 </table>
Chris@6 1004 </div><div class="memdoc">
Chris@1 1005
Chris@6 1006 <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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" title="Process a single block of input data. ">process()</a> function). </p>
Chris@6 1007 <p>This should be called before <a class="el" href="classVamp_1_1PluginHostAdapter.html#add6a2f1ee7e47bd97fa599cead14b738" 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 1008 <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_1PluginHostAdapter.html#add6a2f1ee7e47bd97fa599cead14b738" 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 1009
Chris@6 1010 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#ae3b9c32b12796ece152388babad7cc7d">Vamp::Plugin</a>.</p>
Chris@1 1011
Chris@1 1012 </div>
Chris@1 1013 </div>
Chris@6 1014 <a id="a8e7f62e03adea0321080839f6ef6c77b"></a>
Chris@6 1015 <h2 class="memtitle"><span class="permalink"><a href="#a8e7f62e03adea0321080839f6ef6c77b">&#9670;&nbsp;</a></span>getMinChannelCount()</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::PluginHostAdapter::getMinChannelCount </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 minimum supported number of input channels. </p>
Chris@1 1038
Chris@6 1039 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#ab74f7634c6ac6e3da115667808a79c30">Vamp::Plugin</a>.</p>
Chris@1 1040
Chris@1 1041 </div>
Chris@1 1042 </div>
Chris@6 1043 <a id="a626ad6e35eb0f4ed93bc3c6d976cdca4"></a>
Chris@6 1044 <h2 class="memtitle"><span class="permalink"><a href="#a626ad6e35eb0f4ed93bc3c6d976cdca4">&#9670;&nbsp;</a></span>getMaxChannelCount()</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">size_t Vamp::PluginHostAdapter::getMaxChannelCount </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 maximum supported number of input channels. </p>
Chris@1 1067
Chris@6 1068 <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a0bff9464bc8c117470136c396b2405dd">Vamp::Plugin</a>.</p>
Chris@1 1069
Chris@1 1070 </div>
Chris@1 1071 </div>
Chris@6 1072 <a id="ad799e6317c4caf1a1c55b172ed6cc1fc"></a>
Chris@6 1073 <h2 class="memtitle"><span class="permalink"><a href="#ad799e6317c4caf1a1c55b172ed6cc1fc">&#9670;&nbsp;</a></span>getOutputDescriptors()</h2>
Chris@6 1074
Chris@1 1075 <div class="memitem">
Chris@1 1076 <div class="memproto">
Chris@6 1077 <table class="mlabels">
Chris@6 1078 <tr>
Chris@6 1079 <td class="mlabels-left">
Chris@1 1080 <table class="memname">
Chris@1 1081 <tr>
Chris@6 1082 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> Vamp::PluginHostAdapter::getOutputDescriptors </td>
Chris@1 1083 <td>(</td>
Chris@1 1084 <td class="paramname"></td><td>)</td>
Chris@6 1085 <td> const</td>
Chris@1 1086 </tr>
Chris@1 1087 </table>
Chris@6 1088 </td>
Chris@6 1089 <td class="mlabels-right">
Chris@6 1090 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 1091 </tr>
Chris@6 1092 </table>
Chris@6 1093 </div><div class="memdoc">
Chris@1 1094
Chris@1 1095 <p>Get the outputs of this plugin. </p>
Chris@6 1096 <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_1PluginHostAdapter.html#a38fe1080b343ba10e5d8a4b30c87cbdd" title="Process a single block of input data. ">process()</a> call. </p>
Chris@1 1097
Chris@1 1098 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p>
Chris@1 1099
Chris@1 1100 </div>
Chris@1 1101 </div>
Chris@6 1102 <a id="a38fe1080b343ba10e5d8a4b30c87cbdd"></a>
Chris@6 1103 <h2 class="memtitle"><span class="permalink"><a href="#a38fe1080b343ba10e5d8a4b30c87cbdd">&#9670;&nbsp;</a></span>process()</h2>
Chris@6 1104
Chris@1 1105 <div class="memitem">
Chris@1 1106 <div class="memproto">
Chris@6 1107 <table class="mlabels">
Chris@6 1108 <tr>
Chris@6 1109 <td class="mlabels-left">
Chris@1 1110 <table class="memname">
Chris@1 1111 <tr>
Chris@6 1112 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::PluginHostAdapter::process </td>
Chris@1 1113 <td>(</td>
Chris@1 1114 <td class="paramtype">const float *const *&#160;</td>
Chris@1 1115 <td class="paramname"><em>inputBuffers</em>, </td>
Chris@1 1116 </tr>
Chris@1 1117 <tr>
Chris@1 1118 <td class="paramkey"></td>
Chris@1 1119 <td></td>
Chris@1 1120 <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a>&#160;</td>
Chris@1 1121 <td class="paramname"><em>timestamp</em>&#160;</td>
Chris@1 1122 </tr>
Chris@1 1123 <tr>
Chris@1 1124 <td></td>
Chris@1 1125 <td>)</td>
Chris@6 1126 <td></td><td></td>
Chris@1 1127 </tr>
Chris@1 1128 </table>
Chris@6 1129 </td>
Chris@6 1130 <td class="mlabels-right">
Chris@6 1131 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 1132 </tr>
Chris@6 1133 </table>
Chris@6 1134 </div><div class="memdoc">
Chris@1 1135
Chris@1 1136 <p>Process a single block of input data. </p>
Chris@1 1137 <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 1138 <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 1139 <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 1140
Chris@1 1141 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ae4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p>
Chris@1 1142
Chris@1 1143 </div>
Chris@1 1144 </div>
Chris@6 1145 <a id="a984a4c11f3fbdcfd90e4837b1619a5ab"></a>
Chris@6 1146 <h2 class="memtitle"><span class="permalink"><a href="#a984a4c11f3fbdcfd90e4837b1619a5ab">&#9670;&nbsp;</a></span>getRemainingFeatures()</h2>
Chris@6 1147
Chris@1 1148 <div class="memitem">
Chris@1 1149 <div class="memproto">
Chris@6 1150 <table class="mlabels">
Chris@6 1151 <tr>
Chris@6 1152 <td class="mlabels-left">
Chris@1 1153 <table class="memname">
Chris@1 1154 <tr>
Chris@6 1155 <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> Vamp::PluginHostAdapter::getRemainingFeatures </td>
Chris@1 1156 <td>(</td>
Chris@1 1157 <td class="paramname"></td><td>)</td>
Chris@6 1158 <td></td>
Chris@1 1159 </tr>
Chris@1 1160 </table>
Chris@6 1161 </td>
Chris@6 1162 <td class="mlabels-right">
Chris@6 1163 <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
Chris@6 1164 </tr>
Chris@6 1165 </table>
Chris@6 1166 </div><div class="memdoc">
Chris@1 1167
Chris@1 1168 <p>After all blocks have been processed, calculate and return any remaining features derived from the complete input. </p>
Chris@1 1169
Chris@1 1170 <p>Implements <a class="el" href="classVamp_1_1Plugin.html#aeca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p>
Chris@1 1171
Chris@1 1172 </div>
Chris@1 1173 </div>
Chris@6 1174 <a id="aee417a4c9ba9dbb63777c963d5f9452a"></a>
Chris@6 1175 <h2 class="memtitle"><span class="permalink"><a href="#aee417a4c9ba9dbb63777c963d5f9452a">&#9670;&nbsp;</a></span>convertFeatures()</h2>
Chris@6 1176
Chris@1 1177 <div class="memitem">
Chris@1 1178 <div class="memproto">
Chris@6 1179 <table class="mlabels">
Chris@6 1180 <tr>
Chris@6 1181 <td class="mlabels-left">
Chris@1 1182 <table class="memname">
Chris@1 1183 <tr>
Chris@6 1184 <td class="memname">void Vamp::PluginHostAdapter::convertFeatures </td>
Chris@1 1185 <td>(</td>
Chris@1 1186 <td class="paramtype"><a class="el" href="vamp_8h.html#a5f257e3f8b5ca1ca4c159d486e219078">VampFeatureList</a> *&#160;</td>
Chris@1 1187 <td class="paramname">, </td>
Chris@1 1188 </tr>
Chris@1 1189 <tr>
Chris@1 1190 <td class="paramkey"></td>
Chris@1 1191 <td></td>
Chris@1 1192 <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html#a448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> &amp;&#160;</td>
Chris@1 1193 <td class="paramname">&#160;</td>
Chris@1 1194 </tr>
Chris@1 1195 <tr>
Chris@1 1196 <td></td>
Chris@1 1197 <td>)</td>
Chris@6 1198 <td></td><td></td>
Chris@1 1199 </tr>
Chris@1 1200 </table>
Chris@6 1201 </td>
Chris@6 1202 <td class="mlabels-right">
Chris@6 1203 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
Chris@6 1204 </tr>
Chris@6 1205 </table>
Chris@6 1206 </div><div class="memdoc">
Chris@1 1207
Chris@1 1208 </div>
Chris@1 1209 </div>
Chris@6 1210 <a id="a530123068767a8728c568ffccfe3e4e5"></a>
Chris@6 1211 <h2 class="memtitle"><span class="permalink"><a href="#a530123068767a8728c568ffccfe3e4e5">&#9670;&nbsp;</a></span>getType()</h2>
Chris@6 1212
Chris@1 1213 <div class="memitem">
Chris@1 1214 <div class="memproto">
Chris@6 1215 <table class="mlabels">
Chris@6 1216 <tr>
Chris@6 1217 <td class="mlabels-left">
Chris@1 1218 <table class="memname">
Chris@1 1219 <tr>
Chris@6 1220 <td class="memname">virtual std::string Vamp::Plugin::getType </td>
Chris@1 1221 <td>(</td>
Chris@1 1222 <td class="paramname"></td><td>)</td>
Chris@6 1223 <td> const</td>
Chris@1 1224 </tr>
Chris@1 1225 </table>
Chris@6 1226 </td>
Chris@6 1227 <td class="mlabels-right">
Chris@6 1228 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1229 </tr>
Chris@6 1230 </table>
Chris@6 1231 </div><div class="memdoc">
Chris@1 1232
Chris@6 1233 <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 1234 <p>Do not reimplement this function in your subclass. </p>
Chris@1 1235
Chris@1 1236 <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#a2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p>
Chris@1 1237
Chris@6 1238 <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 1239
Chris@1 1240 </div>
Chris@1 1241 </div>
Chris@6 1242 <h2 class="groupheader">Member Data Documentation</h2>
Chris@6 1243 <a id="a0c9f252aca8ac298e30cadd0de032ec2"></a>
Chris@6 1244 <h2 class="memtitle"><span class="permalink"><a href="#a0c9f252aca8ac298e30cadd0de032ec2">&#9670;&nbsp;</a></span>m_descriptor</h2>
Chris@6 1245
Chris@1 1246 <div class="memitem">
Chris@1 1247 <div class="memproto">
Chris@6 1248 <table class="mlabels">
Chris@6 1249 <tr>
Chris@6 1250 <td class="mlabels-left">
Chris@1 1251 <table class="memname">
Chris@1 1252 <tr>
Chris@6 1253 <td class="memname">const <a class="el" href="vamp_8h.html#aa1d6e0792099b9516a89b5fb7ed2ad2b">VampPluginDescriptor</a>* Vamp::PluginHostAdapter::m_descriptor</td>
Chris@1 1254 </tr>
Chris@1 1255 </table>
Chris@6 1256 </td>
Chris@6 1257 <td class="mlabels-right">
Chris@6 1258 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
Chris@6 1259 </tr>
Chris@6 1260 </table>
Chris@6 1261 </div><div class="memdoc">
Chris@1 1262
Chris@6 1263 <p class="definition">Definition at line <a class="el" href="PluginHostAdapter_8h_source.html#l00113">113</a> of file <a class="el" href="PluginHostAdapter_8h_source.html">PluginHostAdapter.h</a>.</p>
Chris@1 1264
Chris@1 1265 </div>
Chris@1 1266 </div>
Chris@6 1267 <a id="a02ebd03b226b4a467cad747ce77e79ee"></a>
Chris@6 1268 <h2 class="memtitle"><span class="permalink"><a href="#a02ebd03b226b4a467cad747ce77e79ee">&#9670;&nbsp;</a></span>m_handle</h2>
Chris@6 1269
Chris@1 1270 <div class="memitem">
Chris@1 1271 <div class="memproto">
Chris@6 1272 <table class="mlabels">
Chris@6 1273 <tr>
Chris@6 1274 <td class="mlabels-left">
Chris@1 1275 <table class="memname">
Chris@1 1276 <tr>
Chris@6 1277 <td class="memname"><a class="el" href="vamp_8h.html#ad3be2952b1f4ad7d775940a6db75c79b">VampPluginHandle</a> Vamp::PluginHostAdapter::m_handle</td>
Chris@1 1278 </tr>
Chris@1 1279 </table>
Chris@6 1280 </td>
Chris@6 1281 <td class="mlabels-right">
Chris@6 1282 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
Chris@6 1283 </tr>
Chris@6 1284 </table>
Chris@6 1285 </div><div class="memdoc">
Chris@1 1286
Chris@6 1287 <p class="definition">Definition at line <a class="el" href="PluginHostAdapter_8h_source.html#l00114">114</a> of file <a class="el" href="PluginHostAdapter_8h_source.html">PluginHostAdapter.h</a>.</p>
Chris@1 1288
Chris@1 1289 </div>
Chris@1 1290 </div>
Chris@6 1291 <a id="a59b9dd82a4f4eb946cd0474cc81abc23"></a>
Chris@6 1292 <h2 class="memtitle"><span class="permalink"><a href="#a59b9dd82a4f4eb946cd0474cc81abc23">&#9670;&nbsp;</a></span>m_inputSampleRate</h2>
Chris@6 1293
Chris@1 1294 <div class="memitem">
Chris@1 1295 <div class="memproto">
Chris@6 1296 <table class="mlabels">
Chris@6 1297 <tr>
Chris@6 1298 <td class="mlabels-left">
Chris@1 1299 <table class="memname">
Chris@1 1300 <tr>
Chris@6 1301 <td class="memname">float Vamp::Plugin::m_inputSampleRate</td>
Chris@1 1302 </tr>
Chris@1 1303 </table>
Chris@6 1304 </td>
Chris@6 1305 <td class="mlabels-right">
Chris@6 1306 <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
Chris@6 1307 </tr>
Chris@6 1308 </table>
Chris@6 1309 </div><div class="memdoc">
Chris@1 1310
Chris@6 1311 <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 1312
Chris@6 1313 <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 1314
Chris@1 1315 </div>
Chris@1 1316 </div>
Chris@1 1317 <hr/>The documentation for this class was generated from the following file:<ul>
Chris@1 1318 <li><a class="el" href="PluginHostAdapter_8h_source.html">PluginHostAdapter.h</a></li>
Chris@1 1319 </ul>
Chris@3 1320 </div><!-- contents -->
Chris@6 1321 </div><!-- doc-content -->
Chris@6 1322 <!-- start footer part -->
Chris@6 1323 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
Chris@6 1324 <ul>
Chris@6 1325 <li class="navelem"><a class="el" href="namespaceVamp.html">Vamp</a></li><li class="navelem"><a class="el" href="classVamp_1_1PluginHostAdapter.html">PluginHostAdapter</a></li>
Chris@6 1326 <li class="footer">Generated by
Chris@6 1327 <a href="http://www.doxygen.org/index.html">
Chris@6 1328 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
Chris@6 1329 </ul>
Chris@1 1330 </div>
Chris@1 1331 </body>
Chris@1 1332 </html>