Mercurial > hg > vamp-plugin-sdk
diff vamp/vamp.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 | 44113b1e296b |
children | b4043af42278 |
line wrap: on
line diff
--- a/vamp/vamp.h Thu Apr 06 12:26:44 2006 +0000 +++ b/vamp/vamp.h Thu Apr 06 15:12:25 2006 +0000 @@ -159,12 +159,12 @@ unsigned int); void (*releaseOutputDescriptor)(VampOutputDescriptor *); - VampFeatureList **(*process)(VampPluginHandle, + VampFeatureList *(*process)(VampPluginHandle, float **inputBuffers, int sec, int nsec); - VampFeatureList **(*getRemainingFeatures)(VampPluginHandle); - void (*releaseFeatureSet)(VampFeatureList **); + VampFeatureList *(*getRemainingFeatures)(VampPluginHandle); + void (*releaseFeatureSet)(VampFeatureList *); } VampPluginDescriptor;