diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index e059ad79cb..cea969e3b1 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -1653,7 +1653,7 @@ Session::first_cue_within (samplepos_t s, samplepos_t e) } void -Session::cue_marker_change (Location* loc) +Session::cue_marker_change (Location* /* ignored */) { SessionEvent* ev = new SessionEvent (SessionEvent::SyncCues, SessionEvent::Add, SessionEvent::Immediate, 0, 0.0); queue_event (ev); diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 200fc3b56b..dad51ea53c 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -2102,4 +2102,7 @@ Session::flush_cue_recording () Location* l = new Location (*this, when, when, std::string(), Location::Flags (Location::IsMark|Location::IsCueMarker), cr.cue_number); _locations->add (l); } + + /* scheduled sync of cue markers in RT thread */ + cue_marker_change (0); }