Process.h 486 B

12345678910111213141516171819202122232425
  1. #ifndef NULLSOFT_ML_RG_PROCESS_H
  2. #define NULLSOFT_ML_RG_PROCESS_H
  3. #include "obj_replaygain.h"
  4. //this class is meant for use as a service
  5. class ProcessReplayGain : public obj_replaygain
  6. {
  7. public:
  8. ProcessReplayGain() : context(0), albumPeak(0), mode(RG_INDIVIDUAL_TRACKS) {}
  9. int Open(int mode);
  10. int ProcessTrack(const wchar_t *filename);
  11. int Write();
  12. void Close();
  13. protected:
  14. RECVS_DISPATCH;
  15. void *context;
  16. int mode;
  17. float albumPeak;
  18. WorkQueue::RGWorkQueue queue;
  19. };
  20. #endif