• 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: iOS - AudioSession Category to play in sleep mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS - AudioSession Category to play in sleep mode


  • Subject: Re: iOS - AudioSession Category to play in sleep mode
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 26 Apr 2011 07:35:47 -0700

On Tue, 26 Apr 2011 10:08:50 +0530, Sasikumar JP <email@hidden> said:
>Hi,
>  I am working on streaming audio player application for iOS. currently i am experimenting with AudioQueue and AudioUnit for playback.
>
>Both works fine in the normal condition. But AudioUnit playback stopped playing when device (ipod touch 2nd gen) goes to sleep mode, where as it works fine with AudioQueue.
>
>I have set "kAudioSessionCategory_MediaPlayback" session category for both cases. I assume this session category should continue the playback even in sleep mode.
>
>I am not sure what i am missing here.

http://tinyurl.com/3bx55zx

The very first hit is what you are missing. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: viewWillDisappear not being called
  • Next by Date: Re: iOS - AudioSession Category to play in sleep mode
  • Previous by thread: Re: iOS - AudioSession Category to play in sleep mode
  • Next by thread: UI refresh in background thread while [NSTask waitUntilExit]
  • Index(es):
    • Date
    • Thread