AVAudioRecorder.AveragePower(UIntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.