summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/slave.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/slave.h')
-rw-r--r--libs/ardour/ardour/slave.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/slave.h b/libs/ardour/ardour/slave.h
index 672d72f7e2..af69348d4e 100644
--- a/libs/ardour/ardour/slave.h
+++ b/libs/ardour/ardour/slave.h
@@ -234,6 +234,10 @@ class MTC_Slave : public Slave, public sigc::trackable {
nframes_t mtc_frame; /* current time */
nframes_t last_inbound_frame; /* when we got it; audio clocked */
MIDI::byte last_mtc_fps_byte;
+ bool qtr_frame_messages_valid_for_time;
+
+ bool did_reset_tc_format;
+ TimecodeFormat saved_tc_format;
static const int32_t accumulator_size = 128;
double accumulator[accumulator_size];
@@ -241,11 +245,12 @@ class MTC_Slave : public Slave, public sigc::trackable {
bool have_first_accumulated_speed;
void reset ();
- void update_mtc_qtr (MIDI::Parser&);
+ void update_mtc_qtr (MIDI::Parser&, int);
void update_mtc_time (const MIDI::byte *, bool);
void update_mtc_status (MIDI::Parser::MTC_Status);
void read_current (SafeTime *) const;
double compute_apparent_speed (nframes64_t);
+
};
class MIDIClock_Slave : public Slave, public sigc::trackable {