I am finding that my app’s audio cuts out about 25% of the time when resuming a suspension. This occurs after switching between applications on iOS 7, and when switching between applications or going to/from the home screen in iOS 5/6. I have been unable to restore the audio without restarting the app. I’m having this problem with FMOD Ex 4.44.27 stable.
I want users to be able to listen to their own music ingame instead of the default music, so the extra driver data is set as follows:
[code:1ba8y53j]sessionCategory = FMOD_IPHONE_SESSIONCATEGORY_AMBIENTSOUND
forceMixWithOthers = TRUE[/code:1ba8y53j]
applicationDidBecomeActive in the app delegate calls:
The call to FMOD_IPhone_MixWithOtherAudio(bool) cause this issue to arise. However a colleague who used to work on this app tells me that FMOD_IPhone_MixWithOtherAudio call fixed another issue where audio ceased to work after an alarm, so I am reluctant to remove it.
Please let me know if more information is needed, thank you. I would like advice on what might be causing the problem. FMOD Ex does not seem to be throwing any errors or warnings when this occurs.
- Samt asked 3 years ago
If you use the ‘ambient sound’ category you don’t need ‘force mix with others’, it’s implied.
Also I would recommend removing:
They were both work arounds for iOS bugs that should be fixed now.
Please login first to submit.