diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2007-01-03 18:35:32 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2007-01-03 18:35:32 +0000 |
commit | 758e2e6a934c6df4f576395599e6d9a23c1a6882 (patch) | |
tree | 523db282abea7713ad3170f3a2dc0ccc7c36caf5 | |
parent | ca81401b14782b5d13905732778e6bf9b5f5f2ae (diff) |
Fix probably broken MMC locate
git-svn-id: svn://localhost/ardour2/trunk@1262 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/session_midi.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index e4e3d82b68..8a553fb12d 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -624,6 +624,8 @@ Session::mmc_locate (MIDI::MachineControl &mmc, const MIDI::byte* mmc_tc) smpte.minutes = mmc_tc[1]; smpte.seconds = mmc_tc[2]; smpte.frames = mmc_tc[3]; + smpte.rate = smpte_frames_per_second(); + smpte.drop = smpte_drop_frames(); // Also takes smpte offset into account: smpte_to_sample( smpte, target_frame, true /* use_offset */, false /* use_subframes */ ); |