IAudioSessionNotification, anyone have working code?

前端 未结 1 1671
我在风中等你
我在风中等你 2020-12-21 01:38

I\'m picking up some experimental code I was messing with in the Windows 7 Beta now that I\'ve installed the RC.

Basically, I\'m trying to get IAudioSessionMan

1条回答
  •  星月不相逢
    2020-12-21 02:14

    You released the session manager in your RegisterMonitor function. Once you release the last reference to the session manager it is freed and you'll no longer receive session notifications.

    Keep the session manager object alive and it should work just fine.

    0 讨论(0)
提交回复
热议问题