#include <vector>
#include <glibmm/thread.h>
-#include <boost/signals2.hpp>
#include <jack/jack.h>
* only if requires_seekahead() returns true.
*/
- virtual framepos_t seekahead_distance() const { return 0; }
+ virtual framecnt_t seekahead_distance() const { return 0; }
/**
* @return - when returning true, ARDOUR will use transport speed 1.0 no matter what
};
struct SafeTime {
- volatile int guard1;
- framepos_t position;
- framepos_t timestamp;
- double speed;
- volatile int guard2;
-
- SafeTime() {
- guard1 = 0;
- position = 0;
- timestamp = 0;
- speed = 0;
- guard2 = 0;
- }
+ volatile int guard1;
+ framepos_t position;
+ framepos_t timestamp;
+ double speed;
+ volatile int guard2;
+
+ SafeTime() {
+ guard1 = 0;
+ position = 0;
+ timestamp = 0;
+ speed = 0;
+ guard2 = 0;
+ }
};
class MTC_Slave : public Slave {
framecnt_t resolution () const;
bool requires_seekahead () const { return true; }
- framepos_t seekahead_distance() const;
+ framecnt_t seekahead_distance() const;
bool give_slave_full_control_over_transport_speed() const;
private: