13
0

VST3: Prevent recursive calls, part II

See also 7227407aa6
This commit is contained in:
Robin Gareus 2023-10-19 17:49:05 +02:00
parent 9138fb9913
commit 31f42b9be5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -3235,12 +3235,13 @@ VST3PI::resume_notifications ()
if (!PBD::atomic_dec_and_test (_block_rpc)) {
return;
}
ARDOUR::RouteProcessorChange rpc (RouteProcessorChange::NoProcessorChange, false);
std::swap (rpc, _rpc_queue);
Route* r = dynamic_cast<Route*> (_owner);
if (r && _rpc_queue.type != RouteProcessorChange::NoProcessorChange) {
r->processors_changed (_rpc_queue); /* EMIT SIGNAL */
r->processors_changed (rpc); /* EMIT SIGNAL */
}
_rpc_queue.type = RouteProcessorChange::NoProcessorChange;
_rpc_queue.meter_visibly_changed = false;
}
void