diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-06 17:09:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-06 17:09:53 +0000 |
commit | 009c7a9e44d65184d6b6c613569decc9d93fb490 (patch) | |
tree | 48a6d2eb194c9b4871016042bd213a62d36fa1c9 /libs/ardour/session_midi.cc | |
parent | f4f2a9a111c32d4761308eb94a8c7cfa214b7116 (diff) |
attempt to stop sending MMC/MTC while exporting or freewheeling for any reason
git-svn-id: svn://localhost/ardour2/branches/3.0@11457 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_midi.cc')
-rw-r--r-- | libs/ardour/session_midi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 3fe6925186..453718c024 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -361,7 +361,7 @@ Session::send_full_time_code (framepos_t const t) _send_timecode_update = false; - if (!Config->get_send_mtc() || _slave) { + if (_engine.freewheeling() || !Config->get_send_mtc() || _slave) { return 0; } @@ -415,7 +415,7 @@ Session::send_full_time_code (framepos_t const t) int Session::send_midi_time_code_for_cycle (framepos_t start_frame, framepos_t end_frame, pframes_t nframes) { - if (_slave || !_send_qf_mtc || transmitting_timecode_time.negative || (next_quarter_frame_to_send < 0)) { + if (_engine.freewheeling() || _slave || !_send_qf_mtc || transmitting_timecode_time.negative || (next_quarter_frame_to_send < 0)) { // cerr << "(MTC) Not sending MTC\n"; return 0; } |