iPhone - RenderCallback not called when phone is locked
iPhone - RenderCallback not called when phone is locked
- Subject: iPhone - RenderCallback not called when phone is locked
- From: John Morris <email@hidden>
- Date: Mon, 16 Nov 2009 17:06:42 -0800
I'm having a bit of a problem with getting music to continue playing when the screen is locked.
I am using RemoteIO with a MultiChannelMixer sitting on top of it in an AUGraph. I am using the kAudioSessionCategory_MediaPlayback session category and am pretty sure I am properly activating/deactivating the session. Everything works just fine except for when I hit the sleep/lock button. When I do this, the render callback stops being called and the device (iPhone & iPod Touch) continues to play the last filled buffer repeatedly. If I hit the home button to get to the "slide to unlock" screen, the music comes back on (calling the callback is resumed). If I let that screen timeout and go back to black, then the callback will stop again. If I unlock the device, everything resumes just fine.
Any ideas?
John Morris
Evolution Interactive _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden