Mixxx
|
00001 #ifndef ANALYSER_WAVESUMMARY_H 00002 #define ANALYSER_WAVESUMMARY_H 00003 00004 #include <QByteArray> 00005 00006 #include "analyser.h" 00007 00008 class AnalyserWavesummary : public Analyser { 00009 00010 public: 00011 AnalyserWavesummary(); 00012 void initialise(TrackPointer tio, int sampleRate, int totalSamples); 00013 void process(const CSAMPLE *pIn, const int iLen); 00014 void finalise(TrackPointer tio); 00015 00016 private: 00017 QByteArray *m_pData; 00018 int m_iCurPos; 00019 int m_iBufferPos; 00020 int m_iStrideLength; 00021 float m_fMax; 00022 float m_fMin; 00023 }; 00024 00025 #endif