I'm using BackgroundAudioPlayer
agent for my Windows Phone 7 application. I know that the AudioPlayer
class lives in another process (let's call it audio agent process).
I heard that "In theory the process for an Audio Player agent could get started and stopped at any time".
Sometimes, when I press play on my UI, the agent process seems to NOT start, and the agent code doesnot receive any OnUserAction
event. And this cause my application to behave wrongly.
I want the agent process to be ready when I want to play music. How to fix this ?