Edit

Share via


AVAudioPlayer.UpdateMeters Method

Definition

Determines the average and peak power for the channels in the AVAudioPlayer.

[Foundation.Export("updateMeters")]
public virtual void UpdateMeters ();
abstract member UpdateMeters : unit -> unit
override this.UpdateMeters : unit -> unit
Attributes

Remarks

This method must be called prior to accessing AveragePower(nuint) or PeakPower(nuint).

Applies to