Contents

prepareToRecord()

Creates an audio file and prepares the system for recording.

Declaration

func prepareToRecord() -> Bool

Return Value

true if successful; otherwise, false.

Discussion

Calling this method creates an audio file at the URL you used to create the recorder. If a file already exists at that location, this method overwrites it.

Call this method to start recording as quickly as possible upon calling record().

See Also

Controlling recording