Mercurial > hg > vamp-plugin-sdk
diff vamp-sdk/PluginHostAdapter.h @ 12:a3d35e11c3fe
* Avoid repeated malloc/free for returned feature lists -- reuse static
feature lists where possible. Need to document the host behaviour that
permits this (i.e. a returned feature list is only valid until the next
call to process, getRemainingFeatures or releaseFeatureSet)
author | cannam |
---|---|
date | Thu, 06 Apr 2006 15:12:25 +0000 |
parents | 83d3eb580731 |
children | c29eccb892f1 |
line wrap: on
line diff
--- a/vamp-sdk/PluginHostAdapter.h Thu Apr 06 12:26:44 2006 +0000 +++ b/vamp-sdk/PluginHostAdapter.h Thu Apr 06 15:12:25 2006 +0000 @@ -79,7 +79,7 @@ FeatureSet getRemainingFeatures(); protected: - void convertFeatures(VampFeatureList **, FeatureSet &); + void convertFeatures(VampFeatureList *, FeatureSet &); const VampPluginDescriptor *m_descriptor; VampPluginHandle m_handle;