• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iPhone - RenderCallback not called when phone is locked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone - RenderCallback not called when phone is locked


  • Subject: Re: iPhone - RenderCallback not called when phone is locked
  • From: William Stewart <email@hidden>
  • Date: Mon, 16 Nov 2009 17:18:35 -0800

that sounds (sorry about the pun!) like your session's category is not being established correctly. Are you setting your category before making yourself active, and never changing it (just to be sure)...

On Nov 16, 2009, at 5:06 PM, John Morris wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: iPhone - RenderCallback not called when phone is locked
      • From: John Morris <email@hidden>
References: 
 >iPhone - RenderCallback not called when phone is locked (From: John Morris <email@hidden>)

  • Prev by Date: Re: AU Presets for multiple plugins
  • Next by Date: Re: Aggregate question device
  • Previous by thread: iPhone - RenderCallback not called when phone is locked
  • Next by thread: Re: iPhone - RenderCallback not called when phone is locked
  • Index(es):
    • Date
    • Thread