0
我看了instructions here about WP7 background audio player agent。我以爲只有1未知事件和代理方1個演奏事件WP7背景音頻代理playstate
然而,當我登錄的代理OnPlayStateChanged
的情況下,使用
System.Diagnostics.Debug.WriteLine(player.PlayerState.ToString();
我收到2個未知和3打事件時,新賽道正在發揮
這很奇怪,爲什麼呢?
P/S:我使用的代碼示例在MSDN上How to: Play Background Audio for Windows Phone
我修好了。保重。你應該使用playState,而不是player.PlayState – onmyway133