void Update()
        {
            if (pluginFailedToLoad)
            {
                return;
            }

            for (int i = 0; i < numParams; i++)
            {
                if (previousParams[i] != parameters[i])
                {
                    HostDllCpp.setParam(thisVSTIndex, i, parameters[i]);
                    previousParams[i] = parameters[i];
                }
            }
        }
Ejemplo n.º 2
0
        void Update()
        {
            if (pluginFailedToLoad)
            {
                return;
            }
            if (!ready)
            {
                return;
            }

            for (int i = 0; i < numParams; i++)
            {
                if (previousParams[i] != paramList[i].value)
                {
                    HostDllCpp.setParam(thisVSTIndex, i, paramList[i].value);
                    previousParams[i] = paramList[i].value;
                }
            }
        }