Table of Contents

Class AudioMeterInformation

Namespace
NAudio.CoreAudioApi
Assembly
NAudio.Wasapi.dll

Wrapper for IAudioMeterInformation. Reports the master peak value and per-channel peak values for an audio stream or endpoint.

public class AudioMeterInformation : IDisposable
Inheritance
AudioMeterInformation
Implements
Inherited Members

Properties

HardwareSupport

Bitmask describing which metering features the underlying hardware supports (peak meter, RMS meter, hardware-accelerated metering).

public EEndpointHardwareSupport HardwareSupport { get; }

Property Value

EEndpointHardwareSupport

MasterPeakValue

Master peak value across all channels of the metered stream, in the normalized range 0.0 to 1.0.

public float MasterPeakValue { get; }

Property Value

float

PeakValues

Per-channel peak values for the metered stream.

public AudioMeterInformationChannels PeakValues { get; }

Property Value

AudioMeterInformationChannels

Methods

Dispose()

Releases the underlying COM reference when this wrapper owns it. Borrowed wrappers (constructed from a parent's RCW) do not release.

public void Dispose()