Edit

Share via


AVAudioPlayer.PeakPower(nuint) Method

Definition

The peak power, in decibels, of the specified channel.

[Foundation.Export("peakPowerForChannel:")]
public virtual float PeakPower (nuint channelNumber);
abstract member PeakPower : nuint -> single
override this.PeakPower : 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.AveragePower>