ObjectAL-for-iPhone icon indicating copy to clipboard operation
ObjectAL-for-iPhone copied to clipboard

Audio doesn't resume if I switch applications by double-clicking the home button.

Open atilimcetin opened this issue 11 years ago • 0 comments

Hi,

On iOS 6, when I use application switching by double-clicking the home button, sound doesn't resume:

  1. Install ObjectALDemo.
  2. Change the bundle ID com.yourcompany2. to install another ObjectALDemo.
  3. Kill all instances of ObjectALDemo.
  4. Open 1st OpenALDemo and choose "Single Source (Positioning)"
  5. Press home button.
  6. Open 2nd OpenALDemo and choose "Crossfade".
  7. Double-click home button and switch to 1st.
  8. 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.

atilimcetin avatar Mar 04 '13 10:03 atilimcetin