comparison vamp-hostsdk/PluginChannelAdapter.h @ 248:c88a3cdb0215

* Tidy up --list-full output a bit * Some documentation, including docs for PluginSummarisingAdapter
author cannam
date Tue, 11 Nov 2008 12:07:09 +0000
parents 3cf5bd155e5b
children 4454843ff384
comparison
equal deleted inserted replaced
246:5bfed156b45d 248:c88a3cdb0215
108 */ 108 */
109 109
110 class PluginChannelAdapter : public PluginWrapper 110 class PluginChannelAdapter : public PluginWrapper
111 { 111 {
112 public: 112 public:
113 PluginChannelAdapter(Plugin *plugin); // I take ownership of plugin 113 /**
114 * Construct a PluginChannelAdapter wrapping the given plugin.
115 * The adapter takes ownership of the plugin, which will be
116 * deleted when the adapter is deleted.
117 */
118 PluginChannelAdapter(Plugin *plugin);
114 virtual ~PluginChannelAdapter(); 119 virtual ~PluginChannelAdapter();
115 120
116 bool initialise(size_t channels, size_t stepSize, size_t blockSize); 121 bool initialise(size_t channels, size_t stepSize, size_t blockSize);
117 122
118 FeatureSet process(const float *const *inputBuffers, RealTime timestamp); 123 FeatureSet process(const float *const *inputBuffers, RealTime timestamp);