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?
 

jparris1

macrumors regular
Aug 29, 2007
109
0
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.
 

rockinrocker

macrumors 65816
Aug 21, 2006
1,322
0
yeah, happens to white noise too. i hope they can fix it soon, white noise is super handy when traveling....
 

geoelectric

macrumors 6502
May 19, 2008
376
66
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.
 

kwjohns

macrumors 6502a
Jul 4, 2007
700
12
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.