init(url:format:)
Creates an audio recorder with an audio format.
Declaration
init(url: URL, format: AVAudioFormat) throwsParameters
- url:
The file system location to record to.
- format:
The audio format to use for the recording.
Return Value
A new audio recorder, or nil if an error occurred.