Class

AVCaptureAudioFileOutput

A capture output that records audio and saves the recorded audio to a file.

Declaration

@interface AVCaptureAudioFileOutput : AVCaptureFileOutput

Overview

AVCaptureAudioFileOutput implements the complete file recording interface declared by AVCaptureFileOutput for writing media data to audio files. In addition, you can configure options specific to the audio file formats, including writing metadata collections to each file and specifying audio encoding options. AVCaptureAudioFileOutput does not, however, support startRecordingToOutputFileURL:recordingDelegate:—use startRecordingToOutputFileURL:outputFileType:recordingDelegate: instead.

Topics

Discovering Supported Types

+ availableOutputFileTypes

Returns an array containing UTIs identifying the file types AVCaptureAudioFileOutput can write.

Starting a Recording

- startRecordingToOutputFileURL:outputFileType:recordingDelegate:

Tells the receiver to start recording to a new file of the specified format, and specifies a delegate that will be notified when recording is finished.

Configuring Output

audioSettings

The settings used to decode or re-encode audio before it is output by the receiver.

metadata

A collection of metadata to be written to the receiver's output files.

Creating Output

- init

Creates a new audio file output.

+ new

Creates a new audio file output.

Relationships

Inherits From

See Also

Audio Capture

AVCaptureAudioDataOutput

A capture output that records audio and provides access to audio sample buffers as they are recorded.