private void GetAudioSessionManager2() { object result; Marshal.ThrowExceptionForHR(_RealDevice.Activate(ref IIDs.IID_IAudioSessionManager2, CLSCTX.ALL, IntPtr.Zero, out result)); _AudioSessionManager2 = new AudioSessionManager2(result as IAudioSessionManager2); }
internal AudioSessionNotification(AudioSessionManager2 parent) { _Parent = parent; }