• 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
iPhone - RenderCallback not called when phone is locked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPhone - RenderCallback not called when phone is locked
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: AU Presets for multiple plugins
  • Next by Date: Re: Calling ExtAudioFileDispose() on a large MP4 audio file causes a crash
  • Previous by thread: Re: Aggregate question device
  • Next by thread: Re: iPhone - RenderCallback not called when phone is locked
  • Index(es):
    • Date
    • Thread