Edit

Share via


AVAudioRecorder.AveragePower(nuint) Method

Definition

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

[Foundation.Export("averagePowerForChannel:")]
public virtual float AveragePower (nuint channelNumber);
abstract member AveragePower : nuint -> single
override this.AveragePower : nuint -> single

Parameters

channelNumber
System.System.UIntPtr System.unativeint

Returns

Attributes

Remarks

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

Applies to