Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
25
Src/Plugins/Library/ml_rg/Process.h
Normal file
25
Src/Plugins/Library/ml_rg/Process.h
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue