Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SeVeN

macrumors 6502a
Original poster
Aug 8, 2006
621
10
San Jose
now whenever i lock the phone, the sounds effects turn off. then turn back on when i unlock it

anyone else having this problem?
 
It happens with many (but not all) apps with audio. aSleep has the same problem, as does Wunderradio, Custom Sounds of Nature, Custom Hypnosis, and MindWave. Pandora and AOL Radio work fine. Something to do with Apple's changes to Core Audio in the 2.2 update. I hope the app makers issue updates soon.
 
yeah, happens to white noise too. i hope they can fix it soon, white noise is super handy when traveling....
 
Copied from the "WunderRadio shuts off when asleep" thread...

Apple changed the way the AudioQueue works in 2.2, so that it suspends playback when your iPhone sleeps (shuts the screen off).

Fortunately there is a way to change your code easily so that your AudioQueue will continue in sleep mode. For any developers reading this forum- mikeln at iPhonedevSDK forums figured it out...
The default audio session for 2.2 has changed from:

kAudioSessionCategory_MediaPlayback

to

kAudioSessionCategory_SoloAmbientSound

It looks like programmers have to set the audio session as MediaPlayback explicitly, where previously it was assumed.
 
This effects Beejive too. It won't run when you lock your phone so it causes you to receive text messages (if you have this setup).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.