comparison examples/AmplitudeFollower.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 31cd55174467
children aa64a46320d4
comparison
equal deleted inserted replaced
46:2858c897d90f 47:be8fdfe25693
60 60
61 ParameterList getParameterDescriptors() const; 61 ParameterList getParameterDescriptors() const;
62 float getParameter(std::string paramname) const; 62 float getParameter(std::string paramname) const;
63 void setParameter(std::string paramname, float newval); 63 void setParameter(std::string paramname, float newval);
64 64
65 FeatureSet process(float **inputBuffers, Vamp::RealTime timestamp); 65 FeatureSet process(const float *const *inputBuffers,
66 Vamp::RealTime timestamp);
66 67
67 FeatureSet getRemainingFeatures(); 68 FeatureSet getRemainingFeatures();
68 69
69 protected: 70 protected:
70 size_t m_stepSize; 71 size_t m_stepSize;