Class

AVCaptureAudioPreviewOutput

A capture output that provides preview playback for audio being recorded in a capture session.

Declaration

class AVCaptureAudioPreviewOutput : AVCaptureOutput

Overview

Instances of AVCaptureAudioPreviewOutput are associated with a Core Audio output device that can be used to play audio being captured by the capture session. You can obtain the unique ID of a Core Audio device using its kAudioDevicePropertyDeviceUID property.

Topics

Configuring Preview Output

var outputDeviceUniqueID: String?

Indicates the unique ID of the Core Audio output device being used to play preview audio.

var volume: Float

Indicates the preview volume of the output.

Creating Preview Output

init()

Creates a new audio preview output.

Relationships

Inherits From

Conforms To

See Also

Media Capture Preview

class AVCaptureVideoPreviewLayer

A Core Animation layer that displays the video as it’s captured.