A function in SDK3.7.2 is undefined

Hello,

Sorry for the bad title, I wasn’t able to put function name to be more clear…

I’m following the Steinberg tutorial “Generate a plug-in with Project Generator” which is very nice !
But I get stuck on the following line :

	//---get audio buffers----------------
	void** in = getChannelBuffersPointer(processSetup, data.inputs[0]);
	void** out = getChannelBuffersPointer(processSetup, data.outputs[0]);

getChannelBuffersPointer() is undefined for me.
After looking at the doc, it seems this function is from Steinberg::Vst:: namespace, but I don’t find anything related in my project.

Thanks in advance for your help !

K.

getChannelBuffersPointer is part of public.sdk/source/vst/vstaudioprocessoralgo.h - the tutorial actually mentions having to include it, although I managed to overlook it too:

Be sure that you have added at top of the file plugprocessor.cpp "#include “public.sdk/source/vst/vstaudioprocessoralgo.h” ! This includes some helpers to access audio buffer.

check here: Generate a plug-in with Project Generator - VST - Steinberg Developer Help

May I introduce you to a grepping utility ?