Exemplo n.º 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;
 }
Exemplo n.º 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);
 }