There is an error in the WavAudioFormatReader which prevents it from going to the end of the data section to read the rest of the chunks. Adding the following else with "chunkend = " fixes the issue:
else if (chunkType == chunkName ("data"))
{
if (! isRF64){ // data size is expected to be -1, actual data size is in ds64 chunk
dataLength = length;
} else{
if(dataLength > 0){
chunkEnd = input->getPosition() + dataLength + (dataLength & 1);
}
}
dataChunkStart = input->getPosition();
lengthInSamples = (bytesPerFrame > 0) ? (dataLength / bytesPerFrame) : 0;
}