Example #1
0
        private void GetAudioSessionManager()
        {
            object result;

            Marshal.ThrowExceptionForHR(deviceInterface.Activate(ref IDD_IAudioSessionManager, ClsCtx.ALL, IntPtr.Zero, out result));
            audioSessionManager = new AudioSessionManager(result as IAudioSessionManager);
        }
Example #2
0
 internal AudioSessionNotification(AudioSessionManager parent)
 {
     this.parent = parent;
 }
Example #3
0
 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;
 }