mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-19 22:35:53 +01:00
25 lines
486 B
C
25 lines
486 B
C
|
#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
|