diff vamp-sdk/hostext/PluginInputDomainAdapter.h @ 59:fa79c4ec847d host-factory-stuff

* Put hostext stuff in the HostExt sub-namespace * Tidy up system-specific stuff in PluginLoader * Make PluginLoader return a deletion-notifying wrapper which permits the library to be unloaded when no longer in use * Add PluginChannelAdapter * Make vamp-simple-host use PluginChannelAdapter, and use the PluginLoader for plugin-running task. Also some other enhancements to host
author cannam
date Thu, 24 May 2007 15:17:07 +0000
parents 0284955e31e5
children 97c5ac99d725
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginInputDomainAdapter.h	Thu May 24 10:05:00 2007 +0000
+++ b/vamp-sdk/hostext/PluginInputDomainAdapter.h	Thu May 24 15:17:07 2007 +0000
@@ -34,12 +34,15 @@
     authorization.
 */
 
-#ifndef _PLUGIN_INPUT_DOMAIN_ADAPTER_H_
+#ifndef _VAMP_PLUGIN_INPUT_DOMAIN_ADAPTER_H_
+#define _VAMP_PLUGIN_INPUT_DOMAIN_ADAPTER_H_
 
 #include "PluginWrapper.h"
 
 namespace Vamp {
 
+namespace HostExt {
+
 /**
  * An adapter that converts time-domain input into frequency-domain
  * input for plugins that need it.  In every other respect this
@@ -78,7 +81,6 @@
     FeatureSet process(const float *const *inputBuffers, RealTime timestamp);
 
 protected:
-    Plugin *m_plugin;
     size_t m_channels;
     size_t m_blockSize;
     float **m_freqbuf;
@@ -92,4 +94,6 @@
 
 }
 
+}
+
 #endif