public void updateActiveAudioSessions()
        {
            activeAudioSessions.Clear();

            foreach (AudioSession session in AudioUtilities.GetAllSessions())
            {
                if (session.Process != null)
                {
                    activeAudioSessions.Add(session);
                }
            }
        }
 internal AudioSession(AudioUtilities.IAudioSessionControl2 ctl)
 {
     _ctl = ctl;
 }