]> git.sesse.net Git - kdenlive/blob - testingArea/audioCorrelation.h
89c53de3119de73385c2a7588b69a69f50c3b974
[kdenlive] / testingArea / audioCorrelation.h
1 #ifndef AUDIOCORRELATION_H
2 #define AUDIOCORRELATION_H
3
4 #include "audioCorrelationInfo.h"
5 #include "audioEnvelope.h"
6 #include <QList>
7
8 class AudioCorrelationInfo;
9 class AudioCorrelation
10 {
11 public:
12     AudioCorrelation(AudioEnvelope *mainTrackEnvelope);
13     ~AudioCorrelation();
14
15     int addChild(AudioEnvelope *envelope);
16 //    int childIndex(AudioEnvelope *envelope) const;
17
18     const AudioCorrelationInfo *info(int childIndex) const;
19     int getShift(int childIndex) const;
20
21
22 private:
23     AudioEnvelope *m_mainTrackEnvelope;
24
25     QList<AudioEnvelope*> m_children;
26     QList<AudioCorrelationInfo*> m_correlations;
27 };
28
29 #endif // AUDIOCORRELATION_H