我下面這個Hands on Lab如何關閉Windows Phone 7.5中的背景音頻代理?
然後我有一個小問題:如何徹底關閉該程序? 我試過了:BackgroundAudioPlayer.Instance.Close(); 但它仍在運行。程序關閉時,我想刪除此控件。
請參閱this picture。非常感謝:)
我下面這個Hands on Lab如何關閉Windows Phone 7.5中的背景音頻代理?
然後我有一個小問題:如何徹底關閉該程序? 我試過了:BackgroundAudioPlayer.Instance.Close(); 但它仍在運行。程序關閉時,我想刪除此控件。
請參閱this picture。非常感謝:)
BackgroundAudioPlayer.Instance.Stop()
?
另外,this 3部分系列真的很好。
我用BackgroundAudioPlayer.Instance.Close()
和代理關閉
關閉播放器,並刪除它預留的所有資源,包括 當前AudioTrack。
可以看到關閉事件在OnPlayStateChanged
事件處理程序在輸出窗口看到,當發射
另外,後臺任務被終止