mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
triggerbox: flush newly recorded cue markers back to RT context
This commit is contained in:
parent
d830800ed9
commit
b023b97538
2 changed files with 4 additions and 1 deletions
|
|
@ -1653,7 +1653,7 @@ Session::first_cue_within (samplepos_t s, samplepos_t e)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
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);
|
SessionEvent* ev = new SessionEvent (SessionEvent::SyncCues, SessionEvent::Add, SessionEvent::Immediate, 0, 0.0);
|
||||||
queue_event (ev);
|
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);
|
Location* l = new Location (*this, when, when, std::string(), Location::Flags (Location::IsMark|Location::IsCueMarker), cr.cue_number);
|
||||||
_locations->add (l);
|
_locations->add (l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* scheduled sync of cue markers in RT thread */
|
||||||
|
cue_marker_change (0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue