Re: sleep silences music in iPhone OS 2.2?
Re: sleep silences music in iPhone OS 2.2?
- Subject: Re: sleep silences music in iPhone OS 2.2?
- From: John Zorko <email@hidden>
- Date: Sat, 29 Nov 2008 06:05:17 -0800
Allan et al,
Thank you very much -- i've implemented Apple's solution and the problem has disappeared :-)
The default audio session category was changed in iPhone OS 2.2 from MediaPlayback to SoloAmbientSound. SoloAmbientSound has a number of behaviors that differ from MediaPlayback -- it "obeys" the ringer switch, and it does not continue playback after the display locks.
To change back to MediaPlayback (or another category) you can use the Audio Session API.
See the Audio Session programming guide (especially "Why a Default Audio Session Usually Isn’t What You Want"):
and also Technical Q&A 1626 - "Ensuring audio playback continues when screen is locked":
Regards,
John
Falling You - exploring the beauty of voice and sound
|
_______________________________________________
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