AVCaptureAudioChannel Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AVFoundation.framework |
| Availability | Available in iOS 4.0 and later. |
| Declared in | AVCaptureSession.h |
Overview
You use an AVCaptureAudioChannel to monitor the average and peak power levels in an audio channel in a capture connection (see AVCaptureConnection).
An AVCaptureConnection object from 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.
You cannot create instances of AVCaptureAudioChannel directly.
Properties
averagePowerLevel
The instantaneous average power level, in dB. (read-only)
@property(nonatomic, readonly) float averagePowerLevel
Discussion
This property is not key-value observable.
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureSession.hpeakHoldLevel
The peak hold power level, in dB. (read-only)
@property(nonatomic, readonly) float peakHoldLevel
Discussion
This property is not key-value observable.
Availability
- Available in iOS 4.0 and later.
Declared In
AVCaptureSession.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-05-10)