Class AudioSessionManager
- Namespace
- NAudio.CoreAudioApi
- Assembly
- NAudio.Wasapi.dll
AudioSessionManager
Designed to manage audio sessions and in particular the SimpleAudioVolume interface to adjust a session volume
public class AudioSessionManager : IDisposable
- Inheritance
-
AudioSessionManager
- Implements
- Inherited Members
Properties
AudioSessionControl
AudioSessionControl object for registering for callbacks and other session information
public AudioSessionControl AudioSessionControl { get; }
Property Value
Sessions
Returns list of sessions of current device.
public SessionCollection Sessions { get; }
Property Value
SimpleAudioVolume
SimpleAudioVolume object for adjusting the volume for the user session
public SimpleAudioVolume SimpleAudioVolume { get; }
Property Value
Methods
Dispose()
Dispose.
public void Dispose()
RefreshSessions()
Refresh session of current device.
public void RefreshSessions()
Events
OnSessionCreated
Occurs when audio session has been added (for example run another program that use audio playback).
public event AudioSessionManager.SessionCreatedDelegate OnSessionCreated