comparison vamp-sdk/PluginHostAdapter.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 13eae6cc6bac
children aa64a46320d4
comparison
equal deleted inserted replaced
46:2858c897d90f 47:be8fdfe25693
79 size_t getMinChannelCount() const; 79 size_t getMinChannelCount() const;
80 size_t getMaxChannelCount() const; 80 size_t getMaxChannelCount() const;
81 81
82 OutputList getOutputDescriptors() const; 82 OutputList getOutputDescriptors() const;
83 83
84 FeatureSet process(float **inputBuffers, RealTime timestamp); 84 FeatureSet process(const float *const *inputBuffers, RealTime timestamp);
85 85
86 FeatureSet getRemainingFeatures(); 86 FeatureSet getRemainingFeatures();
87 87
88 protected: 88 protected:
89 void convertFeatures(VampFeatureList *, FeatureSet &); 89 void convertFeatures(VampFeatureList *, FeatureSet &);