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: Gregory Wieber <email@hidden>
- Date: Tue, 26 Apr 2011 08:05:30 -0700
In the iOS docs on audio sessions there's a section on apps becoming background tasks. I don't have them in front of me now, but you have to set a property for buffer size when the app goes into the background for it to work.
Sent from my iPhone
On Apr 25, 2011, at 9:38 PM, Sasikumar JP <email@hidden> wrote:
> 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.
>
> I want to add pan/effects features to my application, so i am trying with AudioUnit.
>
> Any help is highly appreciated
>
> Thanks
> Sasikumar JP _______________________________________________
> 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