Table of Contents

Class AudioEndpointVolume

Namespace
NAudio.CoreAudioApi
Assembly
NAudio.Wasapi.dll

Audio Endpoint Volume. Volume change notifications from COM arrive on a background thread. If a SynchronizationContext is captured at construction time, notifications are marshaled to that context (e.g. the UI thread).

public class AudioEndpointVolume : IDisposable
Inheritance
AudioEndpointVolume
Implements
Inherited Members

Properties

Channels

Channels

public AudioEndpointVolumeChannels Channels { get; }

Property Value

AudioEndpointVolumeChannels

HardwareSupport

Hardware Support

public EEndpointHardwareSupport HardwareSupport { get; }

Property Value

EEndpointHardwareSupport

MasterVolumeLevel

Master Volume Level

public float MasterVolumeLevel { get; set; }

Property Value

float

MasterVolumeLevelScalar

Master Volume Level Scalar

public float MasterVolumeLevelScalar { get; set; }

Property Value

float

Mute

Mute

public bool Mute { get; set; }

Property Value

bool

NotificationGuid

GUID to pass to AudioEndpointVolumeCallback

public Guid NotificationGuid { get; set; }

Property Value

Guid

StepInformation

Step Information

public AudioEndpointVolumeStepInformation StepInformation { get; }

Property Value

AudioEndpointVolumeStepInformation

VolumeRange

Volume Range

public AudioEndpointVolumeVolumeRange VolumeRange { get; }

Property Value

AudioEndpointVolumeVolumeRange

Methods

Dispose()

Dispose

public void Dispose()

VolumeStepDown()

Volume Step Down

public void VolumeStepDown()

VolumeStepUp()

Volume Step Up

public void VolumeStepUp()

Events

OnVolumeNotification

On Volume Notification

public event AudioEndpointVolumeNotificationDelegate OnVolumeNotification

Event Type

AudioEndpointVolumeNotificationDelegate