blob: e3f1d19567e2fc9ffd59a372902fbadfa53293a7 (
plain) (
blame)
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
|
#ifndef NULLSOFT_ML_RG_PROCESS_H
#define NULLSOFT_ML_RG_PROCESS_H
#include "obj_replaygain.h"
//this class is meant for use as a service
class ProcessReplayGain : public obj_replaygain
{
public:
ProcessReplayGain() : context(0), albumPeak(0), mode(RG_INDIVIDUAL_TRACKS) {}
int Open(int mode);
int ProcessTrack(const wchar_t *filename);
int Write();
void Close();
protected:
RECVS_DISPATCH;
void *context;
int mode;
float albumPeak;
WorkQueue::RGWorkQueue queue;
};
#endif
|