AudioFormatReader/AudioSampleBuffer lengths differ in type


#1

Jules,

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


#2

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


#3

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