Class AudioEndpointVolumeChannel
- Namespace
- AudioDeviceLib.CoreAudioApi
- Assembly
- AudioDeviceLib.dll
Volume control for a single channel of an audio endpoint.
public sealed class AudioEndpointVolumeChannel : IDisposable
- Inheritance
-
AudioEndpointVolumeChannel
- Implements
- Inherited Members
Properties
VolumeLevel
Gets or sets this channel's volume level in decibels, within the endpoint's volume range.
public float VolumeLevel { get; set; }
Property Value
Exceptions
- COMException
Thrown when the underlying Core Audio call fails.
VolumeLevelScalar
Gets or sets this channel's volume as a normalized scalar in the range 0.0 to 1.0.
public float VolumeLevelScalar { get; set; }
Property Value
Exceptions
- COMException
Thrown when the underlying Core Audio call fails.
Methods
Dispose()
Invalidates this wrapper without releasing externally held COM references.
public void Dispose()