private void GetAudioSessionManager() { object result; Marshal.ThrowExceptionForHR(deviceInterface.Activate(ref IDD_IAudioSessionManager, ClsCtx.ALL, IntPtr.Zero, out result)); audioSessionManager = new AudioSessionManager(result as IAudioSessionManager); }
internal AudioSessionNotification(AudioSessionManager parent) { this.parent = parent; }