Re: iOS - AudioSession Category to play in sleep mode
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