Class SimpleAudioVolume
- Namespace
- AudioDeviceLib.CoreAudioApi
- Assembly
- AudioDeviceLib.dll
Managed wrapper over the Core Audio ISimpleAudioVolume interface. Provides per-session
master volume and mute control.
public sealed class SimpleAudioVolume : IDisposable
- Inheritance
-
SimpleAudioVolume
- Implements
- Inherited Members
Properties
MasterVolume
Gets or sets the session master volume as a normalized scalar in the range 0.0 to 1.0.
public float MasterVolume { get; set; }
Property Value
Exceptions
- COMException
Thrown when the underlying Core Audio call fails.
Mute
Gets or sets the mute state of the session.
public bool Mute { 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()