triggerbox: flush newly recorded cue markers back to RT context
This commit is contained in:
parent
d830800ed9
commit
b023b97538
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user