The current number of valid sample frames in the buffer.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
By default, the frameLength property is not initialized to a useful value; you must set this property before using the buffer. The length must be less than or equal to the
frame of the buffer. In the case of deinterleaved formats,
frame refers to the size of one channel’s worth of audio samples.
You may modify the length of the buffer as part of an operation that modifies its contents. Modifying
frame updates the
m field in each of the underlying
Audio struct correspondingly, and vice versa.