AVAudio class represents an audio file that can be opened for reading or writing.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
Regardless of the file’s actual format, you read and write the file using
AVAudio objects, that contain samples in
AVAudio, referred to as the file’s processing format. Conversions are performed to and from the file’s actual format.
Reads and writes are always sequential, but random access is possible by setting the