Mercurial > hg > vamp-website
view code-doc/classVamp_1_1PluginHostAdapter.html @ 0:351c4ebce5f9 website
* Move website from vamp-website/trunk to plain website
author | cannam |
---|---|
date | Mon, 22 Sep 2008 13:01:46 +0000 |
parents | |
children | cc0be37dc9d3 |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VampPluginSDK: Vamp::PluginHostAdapter Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceVamp.html">Vamp</a>::<a class="el" href="classVamp_1_1PluginHostAdapter.html">PluginHostAdapter</a> </div> </div> <div class="contents"> <h1>Vamp::PluginHostAdapter Class Reference</h1><!-- doxytag: class="Vamp::PluginHostAdapter" --><!-- doxytag: inherits="Vamp::Plugin" --><code>#include <<a class="el" href="PluginHostAdapter_8h-source.html">vamp-sdk/PluginHostAdapter.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for Vamp::PluginHostAdapter:</div> <div class="dynsection"> <p><center><img src="classVamp_1_1PluginHostAdapter__inherit__graph.png" border="0" usemap="#Vamp_1_1PluginHostAdapter__inherit__map" alt="Inheritance graph"></center> <map name="Vamp_1_1PluginHostAdapter__inherit__map"> <area shape="rect" href="classVamp_1_1Plugin.html" title="Vamp::Plugin is a base class for plugin instance classes that provide feature extraction..." alt="" coords="41,82,140,106"><area shape="rect" href="classVamp_1_1PluginBase.html" title="A base class for plugins with optional configurable parameters, programs, etc." alt="" coords="27,7,155,31"></map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classVamp_1_1PluginHostAdapter-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <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...">PluginHostAdapter</a> is a wrapper class that a <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">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...">Vamp::Plugin</a> object. <p> The <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">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" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> SDK implementation provided the plugin and host use the proper C++ wrapper objects.<p> See also <a class="el" href="classVamp_1_1PluginAdapter.html" title="PluginAdapter turns a PluginAdapterBase into a specific wrapper for a particular...">PluginAdapter</a>, the plugin-side wrapper that makes a C++ plugin object available using the C query API. <p>Definition at line <a class="el" href="PluginHostAdapter_8h-source.html#l00064">64</a> of file <a class="el" href="PluginHostAdapter_8h-source.html">PluginHostAdapter.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> { <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff">TimeDomain</a>, <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53">FrequencyDomain</a> }</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector<br> < <a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< <a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::map< int, <br> <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector<br> < <a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#6535abd551acfbbaab381bbe1268cd49">PluginHostAdapter</a> (const <a class="el" href="struct__VampPluginDescriptor.html">VampPluginDescriptor</a> *descriptor, float inputSampleRate)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#b0f354cb332852ab1892488f6b8e8c0e">~PluginHostAdapter</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#dd6a2f1ee7e47bd97fa599cead14b738">initialise</a> (size_t channels, size_t stepSize, size_t blockSize)</td></tr> <tr><td class="mdescLeft"> </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="#dd6a2f1ee7e47bd97fa599cead14b738"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#5d54c5bbd76bc27b7a243827148afeaa">reset</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the plugin after use, to prepare it for another clean run. <a href="#5d54c5bbd76bc27b7a243827148afeaa"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">InputDomain</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#9c5239a4da67f1a426cd059e1a2856eb">getInputDomain</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the plugin's required input domain. <a href="#9c5239a4da67f1a426cd059e1a2856eb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#98aadddc8403eb46c9d8c5a9d1fdd19e">getVampApiVersion</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin. <a href="#98aadddc8403eb46c9d8c5a9d1fdd19e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#b27423a656f878d97d2ad2eba4e76c7a">getIdentifier</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the computer-usable name of the plugin. <a href="#b27423a656f878d97d2ad2eba4e76c7a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#45f1d0377e233eeddd1b7cefb48be62a">getName</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a human-readable name or title of the plugin. <a href="#45f1d0377e233eeddd1b7cefb48be62a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#5eaafcef030e81b90a3e77cf16cf8ae1">getDescription</a> () const </td></tr> <tr><td class="mdescLeft"> </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="#5eaafcef030e81b90a3e77cf16cf8ae1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#f572be0b175f5661559006a380a0f3db">getMaker</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the author or vendor of the plugin in human-readable form. <a href="#f572be0b175f5661559006a380a0f3db"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#6fbd94781867ca46a20368c2a3593c77">getPluginVersion</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the version number of the plugin. <a href="#6fbd94781867ca46a20368c2a3593c77"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#c73c9d6baad04369beee695e99584815">getCopyright</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the copyright statement or licensing summary for the plugin. <a href="#c73c9d6baad04369beee695e99584815"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">ParameterList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#bfa93b20d9b5651a32042a9bb7c8df13">getParameterDescriptors</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the controllable parameters of this plugin. <a href="#bfa93b20d9b5651a32042a9bb7c8df13"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#f0c46d4f67ca93be7c76f3ea2e6c8efb">getParameter</a> (std::string) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of a named parameter. <a href="#f0c46d4f67ca93be7c76f3ea2e6c8efb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#29f75395aa75b9de0228aa11edf9c6d6">setParameter</a> (std::string, float)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a named parameter. <a href="#29f75395aa75b9de0228aa11edf9c6d6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">ProgramList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#7ac5681dcfe08b7b8a796bffc0aff3e3">getPrograms</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the program settings available in this plugin. <a href="#7ac5681dcfe08b7b8a796bffc0aff3e3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#34859eff8ca8d862af39be9636ec1867">getCurrentProgram</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the current program. <a href="#34859eff8ca8d862af39be9636ec1867"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#8f5515ab34cc13d9403ccc6b4b788683">selectProgram</a> (std::string)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Select a program. <a href="#8f5515ab34cc13d9403ccc6b4b788683"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#859ad5d59402691daed3cf1af1899ebe">getPreferredStepSize</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a> function) for the plugin. <a href="#859ad5d59402691daed3cf1af1899ebe"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#d5e0ea8042bdec4dd18428991117e07a">getPreferredBlockSize</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a> function). <a href="#d5e0ea8042bdec4dd18428991117e07a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#67d1198c0e58d3f0076d0eda599ff28d">getMinChannelCount</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the minimum supported number of input channels. <a href="#67d1198c0e58d3f0076d0eda599ff28d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#25091905e97e39d515d8ffc1a9f2b9e0">getMaxChannelCount</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum supported number of input channels. <a href="#25091905e97e39d515d8ffc1a9f2b9e0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">OutputList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#e02670cca9d25cdc4100cbe7a12e3e68">getOutputDescriptors</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the outputs of this plugin. <a href="#e02670cca9d25cdc4100cbe7a12e3e68"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684">process</a> (const float *const *inputBuffers, <a class="el" href="structVamp_1_1RealTime.html">RealTime</a> timestamp)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Process a single block of input data. <a href="#82c29a512c0587ea0121eee4b0c2a684"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#d3f5f16a89a821da2ec1186fd2062e83">getRemainingFeatures</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">After all blocks have been processed, calculate and return any remaining features derived from the complete input. <a href="#d3f5f16a89a821da2ec1186fd2062e83"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#be13b3997a69fbcc09e2213faa352f91">getType</a> () const </td></tr> <tr><td class="mdescLeft"> </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...">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="#be13b3997a69fbcc09e2213faa352f91"></a><br></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static std::vector< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#08d7ed3a11bf4a3c30fa0f9b41a0fed6">getPluginPath</a> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#ee417a4c9ba9dbb63777c963d5f9452a">convertFeatures</a> (<a class="el" href="struct__VampFeatureList.html">VampFeatureList</a> *, <a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> &)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="struct__VampPluginDescriptor.html">VampPluginDescriptor</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#0c9f252aca8ac298e30cadd0de032ec2">m_descriptor</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="vamp_8h.html#d3be2952b1f4ad7d775940a6db75c79b">VampPluginHandle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1PluginHostAdapter.html#02ebd03b226b4a467cad747ce77e79ee">m_handle</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classVamp_1_1Plugin.html#59b9dd82a4f4eb946cd0474cc81abc23">m_inputSampleRate</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="30f531b8fb69fac41a24e3d2a6a08ed9"></a><!-- doxytag: member="Vamp::PluginHostAdapter::OutputList" ref="30f531b8fb69fac41a24e3d2a6a08ed9" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1Plugin_1_1OutputDescriptor.html">OutputDescriptor</a>> <a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">Vamp::Plugin::OutputList</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00309">309</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> </div> </div><p> <a class="anchor" name="0730bc72c87fa02eb8d2854b233f7be1"></a><!-- doxytag: member="Vamp::PluginHostAdapter::FeatureList" ref="0730bc72c87fa02eb8d2854b233f7be1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1Plugin_1_1Feature.html">Feature</a>> <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">Vamp::Plugin::FeatureList</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00347">347</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> </div> </div><p> <a class="anchor" name="448fb57dc245d47923ec9eeaf9856c5f"></a><!-- doxytag: member="Vamp::PluginHostAdapter::FeatureSet" ref="448fb57dc245d47923ec9eeaf9856c5f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::map<int, <a class="el" href="classVamp_1_1Plugin.html#0730bc72c87fa02eb8d2854b233f7be1">FeatureList</a>> <a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">Vamp::Plugin::FeatureSet</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00348">348</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> </div> </div><p> <a class="anchor" name="3b6bb4bbd86affe1ca9deceea1aad4f8"></a><!-- doxytag: member="Vamp::PluginHostAdapter::ParameterList" ref="3b6bb4bbd86affe1ca9deceea1aad4f8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<<a class="el" href="structVamp_1_1PluginBase_1_1ParameterDescriptor.html">ParameterDescriptor</a>> <a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">Vamp::PluginBase::ParameterList</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00195">195</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> </div> </div><p> <a class="anchor" name="7f66f00437b21e5f694fe02356b12f20"></a><!-- doxytag: member="Vamp::PluginHostAdapter::ProgramList" ref="7f66f00437b21e5f694fe02356b12f20" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<std::string> <a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">Vamp::PluginBase::ProgramList</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginBase_8h-source.html#l00217">217</a> of file <a class="el" href="PluginBase_8h-source.html">PluginBase.h</a>.</p> </div> </div><p> <hr><h2>Member Enumeration Documentation</h2> <a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bc"></a><!-- doxytag: member="Vamp::PluginHostAdapter::InputDomain" ref="39cb7649d6dcc20e4cb1640cd55907bc" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">Vamp::Plugin::InputDomain</a><code> [inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff"></a><!-- doxytag: member="TimeDomain" ref="39cb7649d6dcc20e4cb1640cd55907bcd4a9f31b958a43a9757af7893aa2e7ff" args="" -->TimeDomain</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53"></a><!-- doxytag: member="FrequencyDomain" ref="39cb7649d6dcc20e4cb1640cd55907bca30e7877ab33f76acbdca28607e6ab53" args="" -->FrequencyDomain</em> </td><td> </td></tr> </table> </dl> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00149">149</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="6535abd551acfbbaab381bbe1268cd49"></a><!-- doxytag: member="Vamp::PluginHostAdapter::PluginHostAdapter" ref="6535abd551acfbbaab381bbe1268cd49" args="(const VampPluginDescriptor *descriptor, float inputSampleRate)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Vamp::PluginHostAdapter::PluginHostAdapter </td> <td>(</td> <td class="paramtype">const <a class="el" href="struct__VampPluginDescriptor.html">VampPluginDescriptor</a> * </td> <td class="paramname"> <em>descriptor</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>inputSampleRate</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00043">43</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#19c4ce36fdeb88eeedb539efc544b8ee">_VampPluginDescriptor::instantiate</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="b0f354cb332852ab1892488f6b8e8c0e"></a><!-- doxytag: member="Vamp::PluginHostAdapter::~PluginHostAdapter" ref="b0f354cb332852ab1892488f6b8e8c0e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Vamp::PluginHostAdapter::~PluginHostAdapter </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00055">55</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#0e4522c33e59c3c518b9262f2477bc27">_VampPluginDescriptor::cleanup</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="08d7ed3a11bf4a3c30fa0f9b41a0fed6"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getPluginPath" ref="08d7ed3a11bf4a3c30fa0f9b41a0fed6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::vector< std::string > Vamp::PluginHostAdapter::getPluginPath </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00062">62</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8cpp.html#a7a9ce1e832e4f26cd5197ed38d4a58d">DEFAULT_VAMP_PATH</a>, and <a class="el" href="PluginHostAdapter_8cpp.html#256a5721249aa3309437212cc21a9fe4">PATH_SEPARATOR</a>.</p> <p>Referenced by <a class="el" href="PluginLoader_8cpp-source.html#l00226">Vamp::HostExt::PluginLoader::Impl::enumeratePlugins()</a>, and <a class="el" href="PluginLoader_8cpp-source.html#l00422">Vamp::HostExt::PluginLoader::Impl::generateTaxonomy()</a>.</p> </div> </div><p> <a class="anchor" name="dd6a2f1ee7e47bd97fa599cead14b738"></a><!-- doxytag: member="Vamp::PluginHostAdapter::initialise" ref="dd6a2f1ee7e47bd97fa599cead14b738" args="(size_t channels, size_t stepSize, size_t blockSize)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Vamp::PluginHostAdapter::initialise </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"> <em>inputChannels</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>stepSize</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"> <em>blockSize</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <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> The input sample rate should have been already specified at construction time.<p> Return true for successful initialisation, false if the number of input channels, step size and/or block size cannot be supported. <p>Implements <a class="el" href="classVamp_1_1Plugin.html#f26212cf5fc511b603a8b48034247822">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00118">118</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#d0978f17a5e568079470a1978a9aad22">_VampPluginDescriptor::initialise</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="5d54c5bbd76bc27b7a243827148afeaa"></a><!-- doxytag: member="Vamp::PluginHostAdapter::reset" ref="5d54c5bbd76bc27b7a243827148afeaa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Vamp::PluginHostAdapter::reset </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Reset the plugin after use, to prepare it for another clean run. <p> Not called for the first initialisation (i.e. initialise must also do a reset). <p>Implements <a class="el" href="classVamp_1_1Plugin.html#ad67dc9d0052417511070c4ebcfbf24f">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00128">128</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, and <a class="el" href="struct__VampPluginDescriptor.html#12267f6b506aeda3792ff7c982b02336">_VampPluginDescriptor::reset</a>.</p> </div> </div><p> <a class="anchor" name="9c5239a4da67f1a426cd059e1a2856eb"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getInputDomain" ref="9c5239a4da67f1a426cd059e1a2856eb" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#39cb7649d6dcc20e4cb1640cd55907bc">PluginHostAdapter::InputDomain</a> Vamp::PluginHostAdapter::getInputDomain </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the plugin's required input domain. <p> If this is TimeDomain, the samples provided to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684" 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. If this is FrequencyDomain, the host will carry out a windowed FFT 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#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a>. The plugin does not get to choose the window type -- the host will either let the user do so, or will use a Hanning window. <p>Implements <a class="el" href="classVamp_1_1Plugin.html#e1d317a9702cbeda65ddf0ec500c1ff6">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00135">135</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="Plugin_8h-source.html#l00149">Vamp::Plugin::FrequencyDomain</a>, <a class="el" href="vamp_8h-source.html#l00242">_VampPluginDescriptor::inputDomain</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="Plugin_8h-source.html#l00149">Vamp::Plugin::TimeDomain</a>, and <a class="el" href="vamp_8h-source.html#l00200">vampFrequencyDomain</a>.</p> </div> </div><p> <a class="anchor" name="98aadddc8403eb46c9d8c5a9d1fdd19e"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getVampApiVersion" ref="98aadddc8403eb46c9d8c5a9d1fdd19e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned int Vamp::PluginHostAdapter::getVampApiVersion </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the <a class="el" href="namespaceVamp.html" title="If you want to compile using FFTW instead of the built-in FFT implementation for...">Vamp</a> API compatibility level of the plugin. <p> <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#8fd2c48291c64b790f0efb8948508dcf">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00145">145</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="vamp_8h-source.html#l00209">_VampPluginDescriptor::vampApiVersion</a>.</p> </div> </div><p> <a class="anchor" name="b27423a656f878d97d2ad2eba4e76c7a"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getIdentifier" ref="b27423a656f878d97d2ad2eba4e76c7a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getIdentifier </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the computer-usable name of the plugin. <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> 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> Example: "zero_crossings" <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#d1c6dfc77aa03d937a885b7f08258f4a">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00151">151</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00212">_VampPluginDescriptor::identifier</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>.</p> </div> </div><p> <a class="anchor" name="45f1d0377e233eeddd1b7cefb48be62a"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getName" ref="45f1d0377e233eeddd1b7cefb48be62a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get a human-readable name or title of the plugin. <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> Example: "Zero Crossings" <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#18619d5097e444ecefee0c359da53232">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00157">157</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="vamp_8h-source.html#l00215">_VampPluginDescriptor::name</a>.</p> </div> </div><p> <a class="anchor" name="5eaafcef030e81b90a3e77cf16cf8ae1"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getDescription" ref="5eaafcef030e81b90a3e77cf16cf8ae1" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getDescription </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <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> May be empty if the name has said it all already.<p> Example: "Detect and count zero crossing points" <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#59153a02364f75fff46973b2072e9e5a">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00163">163</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00218">_VampPluginDescriptor::description</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>.</p> </div> </div><p> <a class="anchor" name="f572be0b175f5661559006a380a0f3db"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getMaker" ref="f572be0b175f5661559006a380a0f3db" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getMaker </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the name of the author or vendor of the plugin in human-readable form. <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>Implements <a class="el" href="classVamp_1_1PluginBase.html#53d9918bf9ef4d12feedf66b2b26c637">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00169">169</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="vamp_8h-source.html#l00221">_VampPluginDescriptor::maker</a>.</p> </div> </div><p> <a class="anchor" name="6fbd94781867ca46a20368c2a3593c77"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getPluginVersion" ref="6fbd94781867ca46a20368c2a3593c77" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Vamp::PluginHostAdapter::getPluginVersion </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the version number of the plugin. <p> <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#63f686d77bc3d6b807e7944cdde83151">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00175">175</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="vamp_8h-source.html#l00224">_VampPluginDescriptor::pluginVersion</a>.</p> </div> </div><p> <a class="anchor" name="c73c9d6baad04369beee695e99584815"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getCopyright" ref="c73c9d6baad04369beee695e99584815" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getCopyright </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the copyright statement or licensing summary for the plugin. <p> This can be an informative text, without the same presentation constraints as mentioned for getMaker above. <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#b7e9dedbe965f5ab9018b72920fe7661">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00181">181</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00227">_VampPluginDescriptor::copyright</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>.</p> </div> </div><p> <a class="anchor" name="bfa93b20d9b5651a32042a9bb7c8df13"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getParameterDescriptors" ref="bfa93b20d9b5651a32042a9bb7c8df13" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#3b6bb4bbd86affe1ca9deceea1aad4f8">PluginHostAdapter::ParameterList</a> Vamp::PluginHostAdapter::getParameterDescriptors </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the controllable parameters of this plugin. <p> <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#ac3e49b3b66cacfbb768dfdf07444f21">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00187">187</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00092">_VampParameterDescriptor::defaultValue</a>, <a class="el" href="PluginBase_8h-source.html#l00166">Vamp::PluginBase::ParameterDescriptor::defaultValue</a>, <a class="el" href="vamp_8h-source.html#l00080">_VampParameterDescriptor::description</a>, <a class="el" href="PluginBase_8h-source.html#l00143">Vamp::PluginBase::ParameterDescriptor::description</a>, <a class="el" href="vamp_8h-source.html#l00074">_VampParameterDescriptor::identifier</a>, <a class="el" href="PluginBase_8h-source.html#l00132">Vamp::PluginBase::ParameterDescriptor::identifier</a>, <a class="el" href="vamp_8h-source.html#l00095">_VampParameterDescriptor::isQuantized</a>, <a class="el" href="PluginBase_8h-source.html#l00172">Vamp::PluginBase::ParameterDescriptor::isQuantized</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="vamp_8h-source.html#l00089">_VampParameterDescriptor::maxValue</a>, <a class="el" href="PluginBase_8h-source.html#l00158">Vamp::PluginBase::ParameterDescriptor::maxValue</a>, <a class="el" href="vamp_8h-source.html#l00086">_VampParameterDescriptor::minValue</a>, <a class="el" href="PluginBase_8h-source.html#l00153">Vamp::PluginBase::ParameterDescriptor::minValue</a>, <a class="el" href="vamp_8h-source.html#l00077">_VampParameterDescriptor::name</a>, <a class="el" href="PluginBase_8h-source.html#l00137">Vamp::PluginBase::ParameterDescriptor::name</a>, <a class="el" href="vamp_8h-source.html#l00230">_VampPluginDescriptor::parameterCount</a>, <a class="el" href="vamp_8h-source.html#l00233">_VampPluginDescriptor::parameters</a>, <a class="el" href="vamp_8h-source.html#l00098">_VampParameterDescriptor::quantizeStep</a>, <a class="el" href="PluginBase_8h-source.html#l00179">Vamp::PluginBase::ParameterDescriptor::quantizeStep</a>, <a class="el" href="vamp_8h-source.html#l00083">_VampParameterDescriptor::unit</a>, <a class="el" href="PluginBase_8h-source.html#l00148">Vamp::PluginBase::ParameterDescriptor::unit</a>, <a class="el" href="PluginBase_8h-source.html#l00192">Vamp::PluginBase::ParameterDescriptor::valueNames</a>, and <a class="el" href="vamp_8h-source.html#l00101">_VampParameterDescriptor::valueNames</a>.</p> </div> </div><p> <a class="anchor" name="f0c46d4f67ca93be7c76f3ea2e6c8efb"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getParameter" ref="f0c46d4f67ca93be7c76f3ea2e6c8efb" args="(std::string) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float Vamp::PluginHostAdapter::getParameter </td> <td>(</td> <td class="paramtype">std::string </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of a named parameter. <p> The argument is the identifier field from that parameter's descriptor. <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#97ababcd45348ceec998d0f8e0f38bf7">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00213">213</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#07174981875b55ee2ec7521a7f4fc395">_VampPluginDescriptor::getParameter</a>, <a class="el" href="vamp_8h-source.html#l00074">_VampParameterDescriptor::identifier</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="vamp_8h-source.html#l00230">_VampPluginDescriptor::parameterCount</a>, and <a class="el" href="vamp_8h-source.html#l00233">_VampPluginDescriptor::parameters</a>.</p> </div> </div><p> <a class="anchor" name="29f75395aa75b9de0228aa11edf9c6d6"></a><!-- doxytag: member="Vamp::PluginHostAdapter::setParameter" ref="29f75395aa75b9de0228aa11edf9c6d6" args="(std::string, float)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Vamp::PluginHostAdapter::setParameter </td> <td>(</td> <td class="paramtype">std::string </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set a named parameter. <p> The first argument is the identifier field from that parameter's descriptor. <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#6c718ce822f7b73b98940d59dcaa9366">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00227">227</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00074">_VampParameterDescriptor::identifier</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="vamp_8h-source.html#l00230">_VampPluginDescriptor::parameterCount</a>, <a class="el" href="vamp_8h-source.html#l00233">_VampPluginDescriptor::parameters</a>, and <a class="el" href="struct__VampPluginDescriptor.html#ad3cfc7a3b432df40bd9db13eee6a481">_VampPluginDescriptor::setParameter</a>.</p> </div> </div><p> <a class="anchor" name="7ac5681dcfe08b7b8a796bffc0aff3e3"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getPrograms" ref="7ac5681dcfe08b7b8a796bffc0aff3e3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginBase.html#7f66f00437b21e5f694fe02356b12f20">PluginHostAdapter::ProgramList</a> Vamp::PluginHostAdapter::getPrograms </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the program settings available in this plugin. <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> The programs must have unique names. <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#bb307c60bdb981d5f5af50c3c4ae84af">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00241">241</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="vamp_8h-source.html#l00236">_VampPluginDescriptor::programCount</a>, and <a class="el" href="vamp_8h-source.html#l00239">_VampPluginDescriptor::programs</a>.</p> </div> </div><p> <a class="anchor" name="34859eff8ca8d862af39be9636ec1867"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getCurrentProgram" ref="34859eff8ca8d862af39be9636ec1867" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string Vamp::PluginHostAdapter::getCurrentProgram </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the current program. <p> <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#24e77eccf1bdfbbca3c79bb25e8799b3">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00253">253</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#861a77525a95d424cb846820b018af53">_VampPluginDescriptor::getCurrentProgram</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, and <a class="el" href="vamp_8h-source.html#l00239">_VampPluginDescriptor::programs</a>.</p> </div> </div><p> <a class="anchor" name="8f5515ab34cc13d9403ccc6b4b788683"></a><!-- doxytag: member="Vamp::PluginHostAdapter::selectProgram" ref="8f5515ab34cc13d9403ccc6b4b788683" args="(std::string)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Vamp::PluginHostAdapter::selectProgram </td> <td>(</td> <td class="paramtype">std::string </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Select a program. <p> (If the given program name is not one of the available programs, do nothing.) <p>Reimplemented from <a class="el" href="classVamp_1_1PluginBase.html#add3a547ef140bae200473a9518e3353">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00262">262</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="vamp_8h-source.html#l00236">_VampPluginDescriptor::programCount</a>, <a class="el" href="vamp_8h-source.html#l00239">_VampPluginDescriptor::programs</a>, and <a class="el" href="struct__VampPluginDescriptor.html#d9af40cb165ca187e49250964af5f5cf">_VampPluginDescriptor::selectProgram</a>.</p> </div> </div><p> <a class="anchor" name="859ad5d59402691daed3cf1af1899ebe"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getPreferredStepSize" ref="859ad5d59402691daed3cf1af1899ebe" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t Vamp::PluginHostAdapter::getPreferredStepSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the preferred step size (window increment -- the distance in sample frames between the start frames of consecutive blocks passed to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a> function) for the plugin. <p> This should be called before <a class="el" href="classVamp_1_1PluginHostAdapter.html#dd6a2f1ee7e47bd97fa599cead14b738" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<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#dd6a2f1ee7e47bd97fa599cead14b738" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call. <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#514c716c22f81c055f19b56c3f882567">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00275">275</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#2beddf2ce156c05dd24477ac663adcbb">_VampPluginDescriptor::getPreferredStepSize</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="d5e0ea8042bdec4dd18428991117e07a"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getPreferredBlockSize" ref="d5e0ea8042bdec4dd18428991117e07a" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t Vamp::PluginHostAdapter::getPreferredBlockSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the preferred block size (window size -- the number of sample frames passed in each block to the <a class="el" href="classVamp_1_1PluginHostAdapter.html#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a> function). <p> This should be called before <a class="el" href="classVamp_1_1PluginHostAdapter.html#dd6a2f1ee7e47bd97fa599cead14b738" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a>.<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#dd6a2f1ee7e47bd97fa599cead14b738" title="Initialise a plugin to prepare it for use with the given number of input channels...">initialise()</a> call. <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#a529adf83f87a603954eb31407602aac">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00282">282</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#c626e42554ab1532c8d8b5132a0faee8">_VampPluginDescriptor::getPreferredBlockSize</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="67d1198c0e58d3f0076d0eda599ff28d"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getMinChannelCount" ref="67d1198c0e58d3f0076d0eda599ff28d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t Vamp::PluginHostAdapter::getMinChannelCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the minimum supported number of input channels. <p> <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#267b42e866df3cf0d190893e8096f525">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00289">289</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#f175ca17716db5a7545b61b01caabd92">_VampPluginDescriptor::getMinChannelCount</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="25091905e97e39d515d8ffc1a9f2b9e0"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getMaxChannelCount" ref="25091905e97e39d515d8ffc1a9f2b9e0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t Vamp::PluginHostAdapter::getMaxChannelCount </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the maximum supported number of input channels. <p> <p>Reimplemented from <a class="el" href="classVamp_1_1Plugin.html#2c5ab12b6fa4847cb244bd1e9cb3ae5e">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00296">296</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="struct__VampPluginDescriptor.html#d1600203418d9646332f5b917284261b">_VampPluginDescriptor::getMaxChannelCount</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, and <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>.</p> </div> </div><p> <a class="anchor" name="e02670cca9d25cdc4100cbe7a12e3e68"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getOutputDescriptors" ref="e02670cca9d25cdc4100cbe7a12e3e68" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#30f531b8fb69fac41a24e3d2a6a08ed9">PluginHostAdapter::OutputList</a> Vamp::PluginHostAdapter::getOutputDescriptors </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the outputs of this plugin. <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#82c29a512c0587ea0121eee4b0c2a684" title="Process a single block of input data.">process()</a> call. <p>Implements <a class="el" href="classVamp_1_1Plugin.html#d064d5d132b5c9bd7064f429c3309e35">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00303">303</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00136">_VampOutputDescriptor::binCount</a>, <a class="el" href="Plugin_8h-source.html#l00239">Vamp::Plugin::OutputDescriptor::binCount</a>, <a class="el" href="vamp_8h-source.html#l00139">_VampOutputDescriptor::binNames</a>, <a class="el" href="Plugin_8h-source.html#l00245">Vamp::Plugin::OutputDescriptor::binNames</a>, <a class="el" href="vamp_8h-source.html#l00127">_VampOutputDescriptor::description</a>, <a class="el" href="Plugin_8h-source.html#l00219">Vamp::Plugin::OutputDescriptor::description</a>, <a class="el" href="Plugin_8h-source.html#l00285">Vamp::Plugin::OutputDescriptor::FixedSampleRate</a>, <a class="el" href="struct__VampPluginDescriptor.html#a8fc88da704e24b2b5f674821dd380c1">_VampPluginDescriptor::getOutputCount</a>, <a class="el" href="struct__VampPluginDescriptor.html#92c58b8ff99ad0c23a42333aa55c144d">_VampPluginDescriptor::getOutputDescriptor</a>, <a class="el" href="vamp_8h-source.html#l00133">_VampOutputDescriptor::hasFixedBinCount</a>, <a class="el" href="Plugin_8h-source.html#l00231">Vamp::Plugin::OutputDescriptor::hasFixedBinCount</a>, <a class="el" href="vamp_8h-source.html#l00142">_VampOutputDescriptor::hasKnownExtents</a>, <a class="el" href="Plugin_8h-source.html#l00252">Vamp::Plugin::OutputDescriptor::hasKnownExtents</a>, <a class="el" href="vamp_8h-source.html#l00121">_VampOutputDescriptor::identifier</a>, <a class="el" href="Plugin_8h-source.html#l00206">Vamp::Plugin::OutputDescriptor::identifier</a>, <a class="el" href="vamp_8h-source.html#l00151">_VampOutputDescriptor::isQuantized</a>, <a class="el" href="Plugin_8h-source.html#l00270">Vamp::Plugin::OutputDescriptor::isQuantized</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="vamp_8h-source.html#l00148">_VampOutputDescriptor::maxValue</a>, <a class="el" href="Plugin_8h-source.html#l00264">Vamp::Plugin::OutputDescriptor::maxValue</a>, <a class="el" href="vamp_8h-source.html#l00145">_VampOutputDescriptor::minValue</a>, <a class="el" href="Plugin_8h-source.html#l00258">Vamp::Plugin::OutputDescriptor::minValue</a>, <a class="el" href="vamp_8h-source.html#l00124">_VampOutputDescriptor::name</a>, <a class="el" href="Plugin_8h-source.html#l00212">Vamp::Plugin::OutputDescriptor::name</a>, <a class="el" href="Plugin_8h-source.html#l00282">Vamp::Plugin::OutputDescriptor::OneSamplePerStep</a>, <a class="el" href="vamp_8h-source.html#l00154">_VampOutputDescriptor::quantizeStep</a>, <a class="el" href="Plugin_8h-source.html#l00277">Vamp::Plugin::OutputDescriptor::quantizeStep</a>, <a class="el" href="struct__VampPluginDescriptor.html#8cc38edc921616e67e551aa03397ec79">_VampPluginDescriptor::releaseOutputDescriptor</a>, <a class="el" href="vamp_8h-source.html#l00161">_VampOutputDescriptor::sampleRate</a>, <a class="el" href="Plugin_8h-source.html#l00306">Vamp::Plugin::OutputDescriptor::sampleRate</a>, <a class="el" href="Plugin_8h-source.html#l00294">Vamp::Plugin::OutputDescriptor::sampleType</a>, <a class="el" href="vamp_8h-source.html#l00157">_VampOutputDescriptor::sampleType</a>, <a class="el" href="vamp_8h-source.html#l00130">_VampOutputDescriptor::unit</a>, <a class="el" href="Plugin_8h-source.html#l00224">Vamp::Plugin::OutputDescriptor::unit</a>, <a class="el" href="vamp_8h-source.html#l00111">vampFixedSampleRate</a>, <a class="el" href="vamp_8h-source.html#l00108">vampOneSamplePerStep</a>, <a class="el" href="vamp_8h-source.html#l00114">vampVariableSampleRate</a>, and <a class="el" href="Plugin_8h-source.html#l00288">Vamp::Plugin::OutputDescriptor::VariableSampleRate</a>.</p> </div> </div><p> <a class="anchor" name="82c29a512c0587ea0121eee4b0c2a684"></a><!-- doxytag: member="Vamp::PluginHostAdapter::process" ref="82c29a512c0587ea0121eee4b0c2a684" args="(const float *const *inputBuffers, RealTime timestamp)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">PluginHostAdapter::FeatureSet</a> Vamp::PluginHostAdapter::process </td> <td>(</td> <td class="paramtype">const float *const * </td> <td class="paramname"> <em>inputBuffers</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="structVamp_1_1RealTime.html">RealTime</a> </td> <td class="paramname"> <em>timestamp</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Process a single block of input data. <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 will be the real time in seconds of the start of the supplied block of samples.<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 FFT 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 FFT input window (i.e. the very first block passed to process might contain the FFT of half a block of zero samples and the first half-block of the actual data, with a timestamp of zero).<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>Implements <a class="el" href="classVamp_1_1Plugin.html#e4aed3bebfe80a2e2fccd3d37af26996">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00353">353</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8cpp-source.html#l00385">convertFeatures()</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="RealTime_8h-source.html#l00066">Vamp::RealTime::nsec</a>, <a class="el" href="struct__VampPluginDescriptor.html#c5a0a75b6e68b22fed536765d1f2f254">_VampPluginDescriptor::process</a>, <a class="el" href="struct__VampPluginDescriptor.html#c4bafe8ad2734d21a433d745b18e7d63">_VampPluginDescriptor::releaseFeatureSet</a>, and <a class="el" href="RealTime_8h-source.html#l00065">Vamp::RealTime::sec</a>.</p> </div> </div><p> <a class="anchor" name="d3f5f16a89a821da2ec1186fd2062e83"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getRemainingFeatures" ref="d3f5f16a89a821da2ec1186fd2062e83" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">PluginHostAdapter::FeatureSet</a> Vamp::PluginHostAdapter::getRemainingFeatures </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> After all blocks have been processed, calculate and return any remaining features derived from the complete input. <p> <p>Implements <a class="el" href="classVamp_1_1Plugin.html#eca2a26e658ba0314ba90d25dd2195d6">Vamp::Plugin</a>.</p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00372">372</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="PluginHostAdapter_8cpp-source.html#l00385">convertFeatures()</a>, <a class="el" href="struct__VampPluginDescriptor.html#d22c666188aadab83c354a0edb18fcf0">_VampPluginDescriptor::getRemainingFeatures</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, and <a class="el" href="struct__VampPluginDescriptor.html#c4bafe8ad2734d21a433d745b18e7d63">_VampPluginDescriptor::releaseFeatureSet</a>.</p> </div> </div><p> <a class="anchor" name="ee417a4c9ba9dbb63777c963d5f9452a"></a><!-- doxytag: member="Vamp::PluginHostAdapter::convertFeatures" ref="ee417a4c9ba9dbb63777c963d5f9452a" args="(VampFeatureList *, FeatureSet &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Vamp::PluginHostAdapter::convertFeatures </td> <td>(</td> <td class="paramtype"><a class="el" href="struct__VampFeatureList.html">VampFeatureList</a> * </td> <td class="paramname"> <em>features</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classVamp_1_1Plugin.html#448fb57dc245d47923ec9eeaf9856c5f">FeatureSet</a> & </td> <td class="paramname"> <em>fs</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8cpp-source.html#l00385">385</a> of file <a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a>.</p> <p>References <a class="el" href="vamp_8h-source.html#l00190">_VampFeatureList::featureCount</a>, <a class="el" href="vamp_8h-source.html#l00193">_VampFeatureList::features</a>, <a class="el" href="struct__VampPluginDescriptor.html#a8fc88da704e24b2b5f674821dd380c1">_VampPluginDescriptor::getOutputCount</a>, <a class="el" href="vamp_8h-source.html#l00168">_VampFeature::hasTimestamp</a>, <a class="el" href="Plugin_8h-source.html#l00325">Vamp::Plugin::Feature::hasTimestamp</a>, <a class="el" href="Plugin_8h-source.html#l00344">Vamp::Plugin::Feature::label</a>, <a class="el" href="vamp_8h-source.html#l00183">_VampFeature::label</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00109">m_descriptor</a>, <a class="el" href="PluginHostAdapter_8h-source.html#l00110">m_handle</a>, <a class="el" href="vamp_8h-source.html#l00174">_VampFeature::nsec</a>, <a class="el" href="vamp_8h-source.html#l00171">_VampFeature::sec</a>, <a class="el" href="Plugin_8h-source.html#l00332">Vamp::Plugin::Feature::timestamp</a>, <a class="el" href="vamp_8h-source.html#l00177">_VampFeature::valueCount</a>, <a class="el" href="vamp_8h-source.html#l00180">_VampFeature::values</a>, and <a class="el" href="Plugin_8h-source.html#l00339">Vamp::Plugin::Feature::values</a>.</p> <p>Referenced by <a class="el" href="PluginHostAdapter_8cpp-source.html#l00372">getRemainingFeatures()</a>, and <a class="el" href="PluginHostAdapter_8cpp-source.html#l00353">process()</a>.</p> </div> </div><p> <a class="anchor" name="be13b3997a69fbcc09e2213faa352f91"></a><!-- doxytag: member="Vamp::PluginHostAdapter::getType" ref="be13b3997a69fbcc09e2213faa352f91" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual std::string Vamp::Plugin::getType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <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...">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> Do not reimplement this function in your subclass. <p>Implements <a class="el" href="classVamp_1_1PluginBase.html#2da03e9ced8dc7e4382205e6dc05dbff">Vamp::PluginBase</a>.</p> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00391">391</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="0c9f252aca8ac298e30cadd0de032ec2"></a><!-- doxytag: member="Vamp::PluginHostAdapter::m_descriptor" ref="0c9f252aca8ac298e30cadd0de032ec2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="struct__VampPluginDescriptor.html">VampPluginDescriptor</a>* <a class="el" href="classVamp_1_1PluginHostAdapter.html#0c9f252aca8ac298e30cadd0de032ec2">Vamp::PluginHostAdapter::m_descriptor</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8h-source.html#l00109">109</a> of file <a class="el" href="PluginHostAdapter_8h-source.html">PluginHostAdapter.h</a>.</p> <p>Referenced by <a class="el" href="PluginHostAdapter_8cpp-source.html#l00385">convertFeatures()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00181">getCopyright()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00253">getCurrentProgram()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00163">getDescription()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00151">getIdentifier()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00135">getInputDomain()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00169">getMaker()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00296">getMaxChannelCount()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00289">getMinChannelCount()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00157">getName()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00303">getOutputDescriptors()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00213">getParameter()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00187">getParameterDescriptors()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00175">getPluginVersion()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00282">getPreferredBlockSize()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00275">getPreferredStepSize()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00241">getPrograms()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00372">getRemainingFeatures()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00145">getVampApiVersion()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00118">initialise()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00043">PluginHostAdapter()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00353">process()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00128">reset()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00262">selectProgram()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00227">setParameter()</a>, and <a class="el" href="PluginHostAdapter_8cpp-source.html#l00055">~PluginHostAdapter()</a>.</p> </div> </div><p> <a class="anchor" name="02ebd03b226b4a467cad747ce77e79ee"></a><!-- doxytag: member="Vamp::PluginHostAdapter::m_handle" ref="02ebd03b226b4a467cad747ce77e79ee" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="vamp_8h.html#d3be2952b1f4ad7d775940a6db75c79b">VampPluginHandle</a> <a class="el" href="classVamp_1_1PluginHostAdapter.html#02ebd03b226b4a467cad747ce77e79ee">Vamp::PluginHostAdapter::m_handle</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="PluginHostAdapter_8h-source.html#l00110">110</a> of file <a class="el" href="PluginHostAdapter_8h-source.html">PluginHostAdapter.h</a>.</p> <p>Referenced by <a class="el" href="PluginHostAdapter_8cpp-source.html#l00385">convertFeatures()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00253">getCurrentProgram()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00296">getMaxChannelCount()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00289">getMinChannelCount()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00303">getOutputDescriptors()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00213">getParameter()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00282">getPreferredBlockSize()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00275">getPreferredStepSize()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00372">getRemainingFeatures()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00118">initialise()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00043">PluginHostAdapter()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00353">process()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00128">reset()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00262">selectProgram()</a>, <a class="el" href="PluginHostAdapter_8cpp-source.html#l00227">setParameter()</a>, and <a class="el" href="PluginHostAdapter_8cpp-source.html#l00055">~PluginHostAdapter()</a>.</p> </div> </div><p> <a class="anchor" name="59b9dd82a4f4eb946cd0474cc81abc23"></a><!-- doxytag: member="Vamp::PluginHostAdapter::m_inputSampleRate" ref="59b9dd82a4f4eb946cd0474cc81abc23" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float <a class="el" href="classVamp_1_1Plugin.html#59b9dd82a4f4eb946cd0474cc81abc23">Vamp::Plugin::m_inputSampleRate</a><code> [protected, inherited]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="Plugin_8h-source.html#l00397">397</a> of file <a class="el" href="Plugin_8h-source.html">Plugin.h</a>.</p> <p>Referenced by <a class="el" href="ZeroCrossing_8cpp-source.html#l00110">ZeroCrossing::getOutputDescriptors()</a>, <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00196">PercussionOnsetDetector::getOutputDescriptors()</a>, <a class="el" href="PluginWrapper_8cpp-source.html#l00047">Vamp::HostExt::PluginRateExtractor::getRate()</a>, <a class="el" href="AmplitudeFollower_8cpp-source.html#l00105">AmplitudeFollower::initialise()</a>, <a class="el" href="PluginBufferingAdapter_8cpp-source.html#l00238">Vamp::HostExt::PluginBufferingAdapter::PluginBufferingAdapter()</a>, <a class="el" href="PluginInputDomainAdapter_8cpp-source.html#l00113">Vamp::HostExt::PluginInputDomainAdapter::PluginInputDomainAdapter()</a>, <a class="el" href="ZeroCrossing_8cpp-source.html#l00141">ZeroCrossing::process()</a>, <a class="el" href="SpectralCentroid_8cpp-source.html#l00137">SpectralCentroid::process()</a>, and <a class="el" href="PercussionOnsetDetector_8cpp-source.html#l00226">PercussionOnsetDetector::process()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="PluginHostAdapter_8h-source.html">PluginHostAdapter.h</a><li><a class="el" href="PluginHostAdapter_8cpp-source.html">PluginHostAdapter.cpp</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 9 11:36:10 2008 for VampPluginSDK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>