AVAudioRecorder.AveragePower(UIntPtr) Method

Definition

The average power for the channelNumber channel, in decibels, of the sound being recorded.

[Foundation.Export("averagePowerForChannel:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual float AveragePower(UIntPtr channelNumber);
[<Foundation.Export("averagePowerForChannel:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AveragePower : unativeint -> single
override this.AveragePower : unativeint -> single

Parameters

channelNumber
UIntPtr

unativeint

Returns

Attributes

Remarks

Application developers must call UpdateMeters() prior to reading this value.

Applies to