diff --git a/templates/vst3/src/vst3.c b/templates/vst3/src/vst3.c index 847742f..03ab97d 100644 --- a/templates/vst3/src/vst3.c +++ b/templates/vst3/src/vst3.c @@ -1077,11 +1077,11 @@ static void controllerGetParamDataValuePtrs(controller *ctrl, size_t index, Para *p = parameterInData + parameterInfoToDataIndex[index]; *pv = ctrl->parametersIn + parameterInfoToDataIndex[index]; } -# elif DATA_PRODUCT_PARAMETER_IN_N > 0 - *p = parameterInData + paramterInfoToDataIndex[index]; +# elif DATA_PRODUCT_PARAMETERS_IN_N > 0 + *p = parameterInData + parameterInfoToDataIndex[index]; *pv = ctrl->parametersIn + parameterInfoToDataIndex[index]; # else - *p = parameterOutData + paramterInfoToDataIndex[index]; + *p = parameterOutData + parameterInfoToDataIndex[index]; *pv = ctrl->parametersOut + parameterInfoToDataIndex[index]; # endif }