From 10896d7d5b374a1c18cb63d25df9a9525b245d3e Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Thu, 16 Jan 2025 21:04:33 +0100 Subject: [PATCH] vst3 fixed typos --- templates/vst3/src/vst3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }