![]() |
Mixxx
|
00001 #ifndef __VINYLCONTROLPROXY_H__ 00002 #define __VINYLCONTROLPROXY_H__ 00003 00004 #include "vinylcontrol.h" 00005 #include "soundmanagerutil.h" 00006 00007 class VinylControlProxy : public VinylControl 00008 { 00009 public: 00010 VinylControlProxy(ConfigObject<ConfigValue> *pConfig, QString group); 00011 ~VinylControlProxy(); 00012 bool isEnabled(); 00013 void AnalyseSamples(const short* samples, size_t size); 00014 void ToggleVinylControl(bool enable); 00015 void run(); 00016 float getSpeed(); 00017 float getTimecodeQuality(); 00018 unsigned char* getScopeBytemap(); 00019 float getAngle(); 00020 protected: 00021 VinylControl* m_pVinylControl; //Pointer to active VinylControl object 00022 }; 00023 00024 #endif