AVAudioPlayer.AveragePower(nuint) 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 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>