Checkpoint point, pre instantiation of supplementary LV2pedalboards.

This commit is contained in:
Robin E.R. Davies
2026-03-05 09:19:51 -05:00
parent 564ed914cc
commit 1f60e02ce0
39 changed files with 1502 additions and 694 deletions
+4 -4
View File
@@ -2371,15 +2371,15 @@ private:
int updateRequestOutstanding = 0;
bool vuUpdateDropped = false;
virtual void OnVuMeterUpdate(const std::vector<VuUpdate> &updates)
virtual void OnVuMeterUpdate(const std::vector<VuUpdateX> &updates)
{
std::lock_guard<std::recursive_mutex> guard(subscriptionMutex);
if (updateRequestOutstanding < 5) // throttle to accomodate a web page that can't keep up.
if (updateRequestOutstanding < 1) // throttle to accomodate a web page that can't keep up.
{
vuUpdateDropped = false;
for (int i = 0; i < updates.size(); ++i)
{
const VuUpdate &vuUpdate = updates[i];
const VuUpdateX &vuUpdate = updates[i];
bool interested = false;
for (int i = 0; i < this->activeVuSubscriptions.size(); ++i)
{
@@ -2392,7 +2392,7 @@ private:
if (interested)
{
updateRequestOutstanding++;
this->Request<bool, VuUpdate>(
this->Request<bool, VuUpdateX>(
"onVuUpdate",
vuUpdate,
[this](const bool &result)