Contents

length

The number of sample frames in the file.

Declaration

var length: AVAudioFramePosition { get }

Discussion

This can be computationally expensive to compute for the first time.

See Also

Getting Audio File Properties