예제 #1
0
        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;
 }
 internal AudioSessionNotification(AudioSessionManager2 parent)
 {
     _Parent = parent;
 }
예제 #4
0
 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);
 }