Das BlinkenSendButtons
[ardour.git] / libs / ardour / ardour / slave.h
index fe764d555dc79bc0c0be0aae545e5af3ba64423f..43418c576d1a03331b418919ae123c4ba1f7b336 100644 (file)
@@ -25,9 +25,9 @@
 #include <jack/jack.h>
 
 #include <sigc++/signal.h>
-#include <ardour/ardour.h>
-#include <midi++/parser.h>
-#include <midi++/types.h>
+#include "ardour/ardour.h"
+#include "midi++/parser.h"
+#include "midi++/types.h"
 
 namespace MIDI {
        class Port;
@@ -240,9 +240,13 @@ class MIDIClock_Slave : public Slave, public sigc::trackable {
        /// the timestamp of the first MIDI clock message
        nframes_t   first_timestamp;
        
-       /// the time stamp and transport position of the last inbound MIDI clock message
+       /// the time stamp and should-be transport position of the last inbound MIDI clock message
        nframes_t   last_timestamp;
-       double      last_position;
+       double      should_be_position;
+       
+       /// the number of midi clock messages received (zero-based)
+       /// since start
+       long midi_clock_count;
        
        //the delay locked loop (DLL), see www.kokkinizita.net/papers/usingdll.pdf