Edytuj

Udostępnij za pośrednictwem


AVAudioPlayer.AveragePower(nuint) Method

Definition

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

[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

See also

  • <xref:AVFoundation.AVAudioPlayer.PeakPower>