diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-12-04 20:26:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-12-04 20:26:35 +0000 |
commit | 0494a68daaa7cb40acf00b52c2821b14d70fbe48 (patch) | |
tree | 063d02388b709938aad85c2e3d7bba8cbce8d7c7 /libs/ardour/ardour | |
parent | f4e03bd3894078002cb0a96a10887e55dea3c8d8 (diff) |
fix up MTC message delivered internally when locate is noticed (removes stupid message when MTC slaving)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4287 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 4 | ||||
-rw-r--r-- | libs/ardour/ardour/slave.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index ac0c052fa1..a2089b4358 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -398,6 +398,10 @@ class Session : public PBD::StatefulDestructible double frames_per_smpte_frame() const { return _frames_per_smpte_frame; } nframes_t smpte_frames_per_hour() const { return _smpte_frames_per_hour; } + MIDI::byte get_mtc_smpte_bits() const { + return mtc_smpte_bits; /* encoding of SMTPE type for MTC */ + } + float smpte_frames_per_second() const; bool smpte_drop_frames() const; diff --git a/libs/ardour/ardour/slave.h b/libs/ardour/ardour/slave.h index 509f8fa9d2..b07c4d27bb 100644 --- a/libs/ardour/ardour/slave.h +++ b/libs/ardour/ardour/slave.h @@ -91,6 +91,7 @@ class MTC_Slave : public Slave, public sigc::trackable { SafeTime current; nframes_t mtc_frame; /* current time */ nframes_t last_inbound_frame; /* when we got it; audio clocked */ + MIDI::byte last_mtc_fps_byte; float mtc_speed; nframes_t first_mtc_frame; |