diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-01 17:42:18 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-01 17:42:18 +0000 |
commit | f500846fd46d6eab97e5e02fd795b9a938464773 (patch) | |
tree | f21c64641b8067a9bc7a8f2b4d38a97f1bc05ea6 /libs/ardour/session_midi.cc | |
parent | 93d65777b80627411fde1a8b7e391633a936dd8c (diff) |
Remove unused timecode offset stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@8143 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 6914b9db94..5239d7c3f0 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -280,8 +280,7 @@ Session::mmc_locate (MIDI::MachineControl &/*mmc*/, const MIDI::byte* mmc_tc) timecode.rate = timecode_frames_per_second(); timecode.drop = timecode_drop_frames(); - // Also takes timecode offset into account: - timecode_to_sample( timecode, target_frame, true /* use_offset */, false /* use_subframes */ ); + timecode_to_sample (timecode, target_frame, false /* use_subframes */); if (target_frame > max_framepos) { target_frame = max_framepos; @@ -364,7 +363,7 @@ Session::send_full_time_code (framepos_t const t) } // Get timecode time for the given time - sample_to_timecode (t, timecode, true /* use_offset */, false /* no subframes */); + sample_to_timecode (t, timecode, false /* no subframes */); transmitting_timecode_time = timecode; outbound_mtc_timecode_frame = t; |