Hi, jules
How are you?
There is no data member for file duraiton in audioFormatReader.
There is int64 AudioFormatReader::lengthInSamples and numChannels.
Is it ok for calculating the audio file duration in the following calculation :
durationInSec = AudioFormatReader::lengthInSamples / (AudioFormatReader::numchannels * AudioFormatReader::sampleRate )
My questions is :
Can all the formats supported in juce lib be computed in this way for durationInSec?
Does AudioFormatReader::lengthInSamples contains all the sample from all the channels?
Cheers!
Leon