Re: iPhone interruption with OpenAL?

2010-01-11 Thread E. Wing
The quick answer is no. Assuming iPhone OS 3.0+, you must suspend/disable the OpenAL context by making the current context NULL. And if you have an iPod Touch, you can use the Clock.app's alarm feature to help test interruptions. FYI, I cover iPhone audio and OpenAL in excruciating detail (attempt

Re: iPhone interruption with OpenAL?

2010-01-10 Thread Hank Heijink (Mailinglists)
Check the docs: http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/HandlingAudioInterruptions/HandlingAudioInterruptions.html There's a section called "OpenAL and Audio Interruptions" that explains it. Good luck, Hank On Jan 10, 2010, at 4:23 A

iPhone interruption with OpenAL?

2010-01-10 Thread Chunk 1978
i'm using an interruption listener callback with audiotoolbox to shut off music when a call (or something else) comes in to interrupt the app. however, i'd simply like to remove all AVFoundation from the code and strictly rely on OpenAL for sound. will OpenAL automatically pause like the rest of