I was having problems getting audio to play on iPhones running iOS 4.3 after OpenEars had initialized its audio session. The strangest part was that everything worked fine on an iPod Touch with 4.3 and an iPhone with iOS 5.
After a ton of searching, a ton of troubleshooting, and lots of banging my head against the wall I found that I could force the ALCcontext's Frequency to 16000 and sound was working again.
Obviously, not a robust solution, but I wanted to give you a heads up regarding a potential incompatibility. I unfortunately don't have the time to create a proper patch.
I was having problems getting audio to play on iPhones running iOS 4.3 after OpenEars had initialized its audio session. The strangest part was that everything worked fine on an iPod Touch with 4.3 and an iPhone with iOS 5.
After a ton of searching, a ton of troubleshooting, and lots of banging my head against the wall I found that I could force the ALCcontext's Frequency to 16000 and sound was working again.
I added the following into the engine code:
int attrlist[] = { ALC_FREQUENCY, 16000, ALC_INVALID }; context = alcCreateContext(device, attrlist);
Obviously, not a robust solution, but I wanted to give you a heads up regarding a potential incompatibility. I unfortunately don't have the time to create a proper patch.