In the sample-loader example is see a call to AudioFileUtilities::load

gSampleData = AudioFileUtilities::load(gFilename, gStartFrame, gEndFrame - gStartFrame);

while in AudioFileUtilities.cpp I see the definition for the load function as

std::vector<std::vector<float> > load(const std::string& file, int maxCount, unsigned int start)

It looks like the last two parameters in the load function call should be the other way around?

yup, you are right. I fixed that now, thanks for flagging it.

PS: consider opening an issue on github when flagging a bug.