RNBO CMake Tutorial Troubles
Trying to do this tutorial for CMake. Got stuck with the following error:
" RNBOProject\rnbo\src\RNBO_CoreObject.h(449,43): error C2661: 'RNBO::AudioInBufferConverter<I>::AudioInBufferConverter': no overloaded function takes 4 arguments ".
My main.cpp and CMakeLists.txt files are the same as in the tutorial and my patch is just [cycle 440] -> [out~ 1] , although I've tried with multiple IO configurations.
I am on Windows using Visual Studio Code.
Any suggestions??
Nevermind...
This seemed to work
// Create a const pointer to const pointer for input (even though it's null)
const RNBO::SampleValue* const * inputs = nullptr;
// Create a pointer to pointer for output
RNBO::SampleValue** outputsArray = new RNBO::SampleValue*[1];
outputsArray[0] = new RNBO::SampleValue[64];
// Create a const pointer to pointer for the process function
RNBO::SampleValue* const * outputs = outputsArray;
// Call process with correct types
rnboObject.process(inputs, 0, outputs, 1, 64);