Question

I am using Finch to play sound. Works great. One exception: I get an incoming call, answer the call, hang up. Go back to the app. Now sounds don't seem to play correctly anymore. What is the most resource-friendly way of ensuring they will? I guess the audio session is somehow closed...

Was it helpful?

Solution

Consider just using CocosDenshion sound library. we have found it solves all problems. not perfect but very reliable. hope it helps!

Note there is also the ObjectAL library, which, is possibly simply better than CocosDenshion.

OTHER TIPS

You have to setup your own OpenAL audio interrupter.

An example of how to do this is found in Apple's SDK example called oalTouch.

See: https://developer.apple.com/library/ios/#samplecode/oalTouch/Introduction/Intro.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top