Mercurial > hg > vamp-plugin-sdk
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:6616075ec7b6 | 12:a3d35e11c3fe |
---|---|
157 unsigned int (*getOutputCount)(VampPluginHandle); | 157 unsigned int (*getOutputCount)(VampPluginHandle); |
158 VampOutputDescriptor *(*getOutputDescriptor)(VampPluginHandle, | 158 VampOutputDescriptor *(*getOutputDescriptor)(VampPluginHandle, |
159 unsigned int); | 159 unsigned int); |
160 void (*releaseOutputDescriptor)(VampOutputDescriptor *); | 160 void (*releaseOutputDescriptor)(VampOutputDescriptor *); |
161 | 161 |
162 VampFeatureList **(*process)(VampPluginHandle, | 162 VampFeatureList *(*process)(VampPluginHandle, |
163 float **inputBuffers, | 163 float **inputBuffers, |
164 int sec, | 164 int sec, |
165 int nsec); | 165 int nsec); |
166 VampFeatureList **(*getRemainingFeatures)(VampPluginHandle); | 166 VampFeatureList *(*getRemainingFeatures)(VampPluginHandle); |
167 void (*releaseFeatureSet)(VampFeatureList **); | 167 void (*releaseFeatureSet)(VampFeatureList *); |
168 | 168 |
169 } VampPluginDescriptor; | 169 } VampPluginDescriptor; |
170 | 170 |
171 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int index); | 171 const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int index); |
172 | 172 |