mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
triggerbox: handle realtime part of transport stop explicitly in TriggerBox
This commit is contained in:
parent
46b8b0963e
commit
0ad90f826e
2 changed files with 8 additions and 2 deletions
|
|
@ -3698,8 +3698,6 @@ Route::realtime_handle_transport_stopped ()
|
||||||
for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
||||||
(*i)->realtime_handle_transport_stopped ();
|
(*i)->realtime_handle_transport_stopped ();
|
||||||
}
|
}
|
||||||
|
|
||||||
stop_triggers (true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3803,6 +3803,14 @@ TriggerBox::position_as_fraction () const
|
||||||
return cp->position_as_fraction ();
|
return cp->position_as_fraction ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
TriggerBox::realtime_handle_transport_stopped ()
|
||||||
|
{
|
||||||
|
Processor::realtime_handle_transport_stopped ();
|
||||||
|
stop_all ();
|
||||||
|
_currently_playing = 0;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TriggerBox::non_realtime_transport_stop (samplepos_t now, bool /*flush*/)
|
TriggerBox::non_realtime_transport_stop (samplepos_t now, bool /*flush*/)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue