added needed ifdef in controller state stuff
This commit is contained in:
parent
211d86f5e9
commit
3c6719097e
@ -1552,9 +1552,11 @@ static Steinberg_tresult controllerSetState(void* thisInterface, struct Steinber
|
|||||||
if (IS_BIG_ENDIAN)
|
if (IS_BIG_ENDIAN)
|
||||||
v.u = SWAP_UINT32(v.u);
|
v.u = SWAP_UINT32(v.u);
|
||||||
c->parameters[i] = parameterAdjust(i, v.f);
|
c->parameters[i] = parameterAdjust(i, v.f);
|
||||||
|
# ifdef DATA_UI
|
||||||
if (c->views)
|
if (c->views)
|
||||||
for (size_t j = 0; j < c->viewsCount; j++)
|
for (size_t j = 0; j < c->viewsCount; j++)
|
||||||
plugViewUpdateParameter(c->views[j], i);
|
plugViewUpdateParameter(c->views[j], i);
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return Steinberg_kResultOk;
|
return Steinberg_kResultOk;
|
||||||
|
Loading…
Reference in New Issue
Block a user