diff options
Diffstat (limited to 'Src/Plugins/Library/ml_rg/Process.h')
-rw-r--r-- | Src/Plugins/Library/ml_rg/Process.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Src/Plugins/Library/ml_rg/Process.h b/Src/Plugins/Library/ml_rg/Process.h new file mode 100644 index 00000000..e3f1d195 --- /dev/null +++ b/Src/Plugins/Library/ml_rg/Process.h @@ -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
\ No newline at end of file |