示例#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);
        }
 internal AudioSessionNotification(AudioSessionManager parent)
 {
     this.parent = parent;
 }
示例#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;
 }