The buffer's audio samples as floating point values.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
float property returns pointers to the buffer’s audio samples, if the buffer’s format is 32-bit float. It returns
nil if it is another format.
If the format is not interleaved, as with the standard deinterleaved float format, then the pointers will be to separate chunks of memory and the
stride property value is
If the format is interleaved, then the pointers will refer to the same buffer of interleaved samples, each offset by
1 frame, and the
stride property value is the number of interleaved channels.