ifc_equalizer.h 713 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "foundation/dispatch.h"
  3. class ifc_equalizer : public Wasabi2::Dispatchable
  4. {
  5. protected:
  6. ifc_equalizer() : Dispatchable(DISPATCHABLE_VERSION) {}
  7. ~ifc_equalizer() {}
  8. public:
  9. int SetPreamp(double dB) { return Equalizer_SetPreamp(dB); }
  10. int SetBand(unsigned int band, double dB) { return Equalizer_SetBand(band, dB); }
  11. int Enable() { return Equalizer_Enable(); }
  12. int Disable() { return Equalizer_Disable(); }
  13. private:
  14. virtual int WASABICALL Equalizer_SetPreamp(double dB)=0;
  15. virtual int WASABICALL Equalizer_SetBand(unsigned int band, double dB)=0;
  16. virtual int WASABICALL Equalizer_Enable()=0;
  17. virtual int WASABICALL Equalizer_Disable()=0;
  18. enum
  19. {
  20. DISPATCHABLE_VERSION,
  21. };
  22. };