From 111d35c9c7805b47a806a8f435d19e86ad40c879 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 8 Aug 2013 19:31:10 -0400 Subject: add methods to queue full MTC and SPP messages, now that they are synchronous --- gtk2_ardour/editor_drag.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 3389164f50..9c65892ebd 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2371,10 +2371,14 @@ CursorDrag::fake_locate (framepos_t t) Session* s = _editor->session (); if (s->timecode_transmission_suspended ()) { framepos_t const f = _editor->playhead_cursor->current_frame; + /* This is asynchronous so it will be sent "now" + */ s->send_mmc_locate (f); - // XXX need to queue full time code and SPP messages somehow - // s->send_full_time_code (f); - // s->send_song_position_pointer (f); + /* These are synchronous and will be sent during the next + process cycle + */ + s->queue_full_time_code (); + s->queue_song_position_pointer (); } show_verbose_cursor_time (t); -- cgit v1.2.3