Edit: This was due to having #define CPLUG_NUM_INPUT_BUSSES 0.
There's a problem with VST3ProcessContextTranslator_getAudioInput(), I added float **input = ctx->getAudioInput(ctx, 0); to my cplug_process() function, but vst3ctx->data->numInputs is 0, vst3ctx->data->inputs is NULL and the CPLUG_LOG_ASSERT() does nothing to stop it from trying to read from vst3ctx->data->inputs[busIdx] which doesn't end well.
Edit: This was due to having
#define CPLUG_NUM_INPUT_BUSSES 0
.There's a problem with
VST3ProcessContextTranslator_getAudioInput()
, I addedfloat **input = ctx->getAudioInput(ctx, 0);
to mycplug_process()
function, butvst3ctx->data->numInputs
is0
,vst3ctx->data->inputs
isNULL
and theCPLUG_LOG_ASSERT()
does nothing to stop it from trying to read fromvst3ctx->data->inputs[busIdx]
which doesn't end well.