added needed ifdef in controller state stuff

This commit is contained in:
Stefano D'Angelo 2025-01-12 21:57:18 +01:00
parent 211d86f5e9
commit 3c6719097e

View File

@ -1552,9 +1552,11 @@ static Steinberg_tresult controllerSetState(void* thisInterface, struct Steinber
if (IS_BIG_ENDIAN)
v.u = SWAP_UINT32(v.u);
c->parameters[i] = parameterAdjust(i, v.f);
# ifdef DATA_UI
if (c->views)
for (size_t j = 0; j < c->viewsCount; j++)
plugViewUpdateParameter(c->views[j], i);
# endif
}
#endif
return Steinberg_kResultOk;