Contents

init(url:format:)

Creates an audio recorder with an audio format.

Declaration

init(url: URL, format: AVAudioFormat) throws

Parameters

  • 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.

See Also

Creating an audio recorder