comparison examples/SpectralCentroid.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 abd05f5eee2f
children aa64a46320d4
comparison
equal deleted inserted replaced
46:2858c897d90f 47:be8fdfe25693
56 int getPluginVersion() const; 56 int getPluginVersion() const;
57 std::string getCopyright() const; 57 std::string getCopyright() const;
58 58
59 OutputList getOutputDescriptors() const; 59 OutputList getOutputDescriptors() const;
60 60
61 FeatureSet process(float **inputBuffers, Vamp::RealTime timestamp); 61 FeatureSet process(const float *const *inputBuffers,
62 Vamp::RealTime timestamp);
62 63
63 FeatureSet getRemainingFeatures(); 64 FeatureSet getRemainingFeatures();
64 65
65 protected: 66 protected:
66 size_t m_stepSize; 67 size_t m_stepSize;