forked from mixxxdj/mixxx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanalyserrg.h
36 lines (29 loc) · 824 Bytes
/
analyserrg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* analyserrg.h
*
* Created on: 13/ott/2010
* Author: Vittorio Colao
* */
#ifndef ANALYSERRG_H_
#define ANALYSERRG_H_
#include "analyser.h"
#include "configobject.h"
class ReplayGain;
class AnalyserGain : public Analyser {
public:
AnalyserGain(ConfigObject<ConfigValue> *_config);
virtual ~AnalyserGain();
bool initialise(TrackPointer tio, int sampleRate, int totalSamples);
bool loadStored(TrackPointer tio) const;
void process(const CSAMPLE *pIn, const int iLen);
void cleanup(TrackPointer tio);
void finalise(TrackPointer tio);
private:
bool m_bStepControl;
ConfigObject<ConfigValue> *m_pConfigReplayGain;
CSAMPLE* m_pLeftTempBuffer;
CSAMPLE* m_pRightTempBuffer;
ReplayGain *m_pReplayGain;
int m_iBufferSize;
};
#endif /* ANALYSERRG_H_ */