ObjectAL-for-iPhone
ObjectAL-for-iPhone copied to clipboard
Audio doesn't resume if I switch applications by double-clicking the home button.
Hi,
On iOS 6, when I use application switching by double-clicking the home button, sound doesn't resume:
- Install ObjectALDemo.
- Change the bundle ID com.yourcompany2. to install another ObjectALDemo.
- Kill all instances of ObjectALDemo.
- Open 1st OpenALDemo and choose "Single Source (Positioning)"
- Press home button.
- Open 2nd OpenALDemo and choose "Crossfade".
- Double-click home button and switch to 1st.
- Double-click home button and switch to 2nd.
After these steps, sound doesn't continue to play. It seems OALAudioSession receives beginInterruption but doesn't receive endInterruptionWithFlags: therefore OpenAL remains uninitialized.
I've tested this on iOS 6.0.1 and 6.1.2. Both iOS versions don't behave exactly same but same problem occurs.
Thank you.