Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/engine/clockcontrol.h

Go to the documentation of this file.
00001 #ifndef CLOCKCONTROL_H
00002 #define CLOCKCONTROL_H
00003 
00004 #include "configobject.h"
00005 #include "engine/enginecontrol.h"
00006 
00007 #include "trackinfoobject.h"
00008 #include "track/beats.h"
00009 
00010 class ClockControl: public EngineControl {
00011     Q_OBJECT
00012   public:
00013     ClockControl(const char * pGroup,
00014                  ConfigObject<ConfigValue>* pConfig);
00015 
00016     virtual ~ClockControl();
00017 
00018     double process(const double dRate, const double currentSample,
00019                    const double totalSamples, const int iBufferSize);
00020 
00021   public slots:
00022     virtual void trackLoaded(TrackPointer pTrack);
00023     virtual void trackUnloaded(TrackPointer pTrack);
00024     void slotBeatsUpdated();
00025 
00026   private:
00027     ControlObject* m_pCOBeatActive;
00028     ControlObject* m_pCOSampleRate;
00029     TrackPointer m_pTrack;
00030     BeatsPointer m_pBeats;
00031 };
00032 
00033 #endif /* CLOCKCONTROL_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines