Mercurial > hg > vamp-website
view code-doc/plugins_8cpp.html @ 35:0976232e353b website
* Update for 2.1 release; add wiki link
author | cannam |
---|---|
date | Fri, 25 Sep 2009 15:40:18 +0000 |
parents | cc0be37dc9d3 |
children | 8260c0f4e05b |
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: plugins.cpp File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><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="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_35887283b966ca996e4ff77f459c38ce.html">examples</a> </div> </div> <div class="contents"> <h1>plugins.cpp File Reference</h1> <p> <a href="plugins_8cpp-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</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="plugins_8cpp.html#bb0fd6db76ddd39698bc370e0fd0ea78">vampGetPluginDescriptor</a> (unsigned int version, unsigned int index)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the descriptor for a given plugin index in this library. <a href="#bb0fd6db76ddd39698bc370e0fd0ea78"></a><br></td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classZeroCrossing.html">ZeroCrossing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#01871ad1ab2bb64e2c53fe5cce19b780">zeroCrossingAdapter</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classSpectralCentroid.html">SpectralCentroid</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#c96bdfb6356a153341b29b43c4961cd5">spectralCentroidAdapter</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classPercussionOnsetDetector.html">PercussionOnsetDetector</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#cee3823cb6a43281a2ecf923b69613dd">percussionOnsetAdapter</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classFixedTempoEstimator.html">FixedTempoEstimator</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#937de36d22633261716032570064a4be">fixedTempoAdapter</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classAmplitudeFollower.html">AmplitudeFollower</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#4e60bb6a99451da5deb18b969e6b16cd">amplitudeAdapter</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><br class="typebreak"> < <a class="el" href="classPowerSpectrum.html">PowerSpectrum</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="plugins_8cpp.html#77810f485caaae4a8b2303496046d3d7">powerSpectrum</a></td></tr> </table> <hr><h2>Function Documentation</h2> <a class="anchor" name="bb0fd6db76ddd39698bc370e0fd0ea78"></a><!-- doxytag: member="plugins.cpp::vampGetPluginDescriptor" ref="bb0fd6db76ddd39698bc370e0fd0ea78" args="(unsigned int version, unsigned int index)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="struct__VampPluginDescriptor.html">VampPluginDescriptor</a>* vampGetPluginDescriptor </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>hostApiVersion</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>index</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Get the descriptor for a given plugin index in this library. <p> Return NULL if the index is outside the range of valid indices for this plugin library.<p> The hostApiVersion argument tells the library code the highest <a class="el" href="namespaceVamp.html">Vamp</a> API version supported by the host. The function should return a plugin descriptor compatible with the highest API version supported by the library that is no higher than that supported by the host. Provided the descriptor has the correct vampApiVersion field for its actual compatibility level, the host should be able to do the right thing with it: use it if possible, discard it otherwise.<p> This is the only symbol that a <a class="el" href="namespaceVamp.html">Vamp</a> plugin actually needs to export from its shared object; all others can be hidden. See the accompanying documentation for notes on how to achieve this with certain compilers. <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00054">54</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> <p>References <a class="el" href="classVamp_1_1PluginAdapterBase.html#d24595002512f9f00e8e45216d6f5dfb">Vamp::PluginAdapterBase::getDescriptor()</a>.</p> </div> </div><p> <hr><h2>Variable Documentation</h2> <a class="anchor" name="01871ad1ab2bb64e2c53fe5cce19b780"></a><!-- doxytag: member="plugins.cpp::zeroCrossingAdapter" ref="01871ad1ab2bb64e2c53fe5cce19b780" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classZeroCrossing.html">ZeroCrossing</a>> <a class="el" href="plugins_8cpp.html#01871ad1ab2bb64e2c53fe5cce19b780">zeroCrossingAdapter</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00047">47</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> <a class="anchor" name="c96bdfb6356a153341b29b43c4961cd5"></a><!-- doxytag: member="plugins.cpp::spectralCentroidAdapter" ref="c96bdfb6356a153341b29b43c4961cd5" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classSpectralCentroid.html">SpectralCentroid</a>> <a class="el" href="plugins_8cpp.html#c96bdfb6356a153341b29b43c4961cd5">spectralCentroidAdapter</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00048">48</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> <a class="anchor" name="cee3823cb6a43281a2ecf923b69613dd"></a><!-- doxytag: member="plugins.cpp::percussionOnsetAdapter" ref="cee3823cb6a43281a2ecf923b69613dd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classPercussionOnsetDetector.html">PercussionOnsetDetector</a>> <a class="el" href="plugins_8cpp.html#cee3823cb6a43281a2ecf923b69613dd">percussionOnsetAdapter</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00049">49</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> <a class="anchor" name="937de36d22633261716032570064a4be"></a><!-- doxytag: member="plugins.cpp::fixedTempoAdapter" ref="937de36d22633261716032570064a4be" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classFixedTempoEstimator.html">FixedTempoEstimator</a>> <a class="el" href="plugins_8cpp.html#937de36d22633261716032570064a4be">fixedTempoAdapter</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00050">50</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> <a class="anchor" name="4e60bb6a99451da5deb18b969e6b16cd"></a><!-- doxytag: member="plugins.cpp::amplitudeAdapter" ref="4e60bb6a99451da5deb18b969e6b16cd" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classAmplitudeFollower.html">AmplitudeFollower</a>> <a class="el" href="plugins_8cpp.html#4e60bb6a99451da5deb18b969e6b16cd">amplitudeAdapter</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00051">51</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> <a class="anchor" name="77810f485caaae4a8b2303496046d3d7"></a><!-- doxytag: member="plugins.cpp::powerSpectrum" ref="77810f485caaae4a8b2303496046d3d7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classVamp_1_1PluginAdapter.html">Vamp::PluginAdapter</a><<a class="el" href="classPowerSpectrum.html">PowerSpectrum</a>> <a class="el" href="plugins_8cpp.html#77810f485caaae4a8b2303496046d3d7">powerSpectrum</a><code> [static]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="plugins_8cpp-source.html#l00052">52</a> of file <a class="el" href="plugins_8cpp-source.html">plugins.cpp</a>.</p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Thu Sep 24 13:40:13 2009 for VampPluginSDK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>