I am using FMOD for iPhone to generate a tone and play it, but when the iPhone locks the sound pauses. This is not the desired behavior, and only recently popped up. I hadn't tested it in awhile, but the only thing that I think changed since last time was that I updated to iOS 5.
I made sure to set the FMOD session to
FMOD_IPHONE_SESSIONCATEGORY_MEDIAPLAYBACK
and the AudioSession category to
kAudioSessionCategory_MediaPlayback
I double checked in both the AudioSession and FMOD documentations that nothing had changed. I also made sure that I had the most recent version of the FMOD SDK. Any help would be appreciated to fix this issue.
Thanks