I've been searching all over the internet to get this but no vain.
I am working with Steinberg's VST SDK in C++. I am developing an effect plugin and I need to know the length of the sound file, meaning the number of frames within it. So I know the block size or (sampleFrames) from the processReplacing function.
void processReplacing (float **inputs, float **outputs, VstInt32 sampleFrames)
Anyone knows how to get the total number of frames in the whole sound file?
Thanks for the help in advance,