comparison vamp/vamp.h @ 47:be8fdfe25693

* Change input buffers arg to process from float ** to const float *const * to avoid plugins modifying their input data * Some improvements to comments * Fix stupidity in frequency-domain input passing (there are n/2+1 values, not n/2)
author cannam
date Fri, 08 Dec 2006 17:39:32 +0000
parents 3bbe244611bb
children aa64a46320d4
comparison
equal deleted inserted replaced
46:2858c897d90f 47:be8fdfe25693
283 pointer is valid only until next call to process, 283 pointer is valid only until next call to process,
284 getRemainingFeatures, or cleanup for this handle, or 284 getRemainingFeatures, or cleanup for this handle, or
285 releaseFeatureSet for this feature set. Host must call 285 releaseFeatureSet for this feature set. Host must call
286 releaseFeatureSet after use. */ 286 releaseFeatureSet after use. */
287 VampFeatureList *(*process)(VampPluginHandle, 287 VampFeatureList *(*process)(VampPluginHandle,
288 float **inputBuffers, 288 const float *const *inputBuffers,
289 int sec, 289 int sec,
290 int nsec); 290 int nsec);
291 291
292 /** Return any remaining features at the end of processing. */ 292 /** Return any remaining features at the end of processing. */
293 VampFeatureList *(*getRemainingFeatures)(VampPluginHandle); 293 VampFeatureList *(*getRemainingFeatures)(VampPluginHandle);