Class

AVCaptureAudioChannel

An object that monitors average and peak power levels for an audio channel in a capture connection.

Declaration

@interface AVCaptureAudioChannel : NSObject

Overview

You do not create AVCaptureAudioChannel instance directly. Instead, an AVCaptureConnection object that connects an input producing audio to an output receiving audio exposes an array of AVCaptureAudioChannel objects, one for each channel of audio available. You can poll for audio levels by iterating through these audio channel objects.

Topics

Accessing Power Levels

averagePowerLevel

The instantaneous average power level, in dB.

peakHoldLevel

The peak hold power level, in dB.

volume

The current volume (gain) of the channel.

Managing Enabled State

enabled

Indicates whether the channel is currently enabled for data capture.

Relationships

Inherits From

See Also

Session Configuration

AVCaptureInput

The abstract superclass for objects that provide input data to a capture session.

AVCaptureOutput

The abstract superclass for objects that output the media recorded in a capture session.

AVCaptureConnection

A connection between a specific pair of capture input and capture output objects in a capture session.