The return value from AudioPlayHead::getCurrentPosition


#1

Hi,

 

The return value for AudioPlayHead::getCurrentPosition seems to be ignored in juce_VSTPluginFormat.cpp.

Shouldn't it check if the return value is false, and then assume that the 'position' object values has not been filled in?

If not, what's the point of the return value? The documentation doesn't say anything about it.

 


#2

Yes, good point - it should check it, I'll add that!


#3

Thank you!