AudioFormatReader/AudioSampleBuffer lengths differ in type


Is there a reason that the data types for AudioFormatReader.lengthInSamples (int64) and the numSamples parameter (int) in the constructor of AudioSampleBuffer are different?

Are you likely to create a memory buffer containing more than 2^32 samples?..

sure, why not… lol… it’s funny how we miss the obvious at times… :slight_smile: