How do I mute or disable FMOD so that iTunes music will play? [iOS]

On iOS, whenever a user launches our app or switches to it, the background music is stopped. Is there a way to prevent this in FMOD? We’re using the C++ FMOD::Studio API in our own engine. We’re not using another way to control audio in our game.

That`s sounds more like a audio driver settings issue.
I am not sure how it works on iOS, but on Windows you can set the audio driver to give exclusive access to programs using it. That would produce a result like the one that you are mentioning. Check if you have a checkbox like that on your audio driver.

1 Like

I found it.

When my game hits music volume level 0, I can call
AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryAmbient, error: nil)

When the music is urned on again, I can call
AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategorySoloAmbient, error: nil)

I really thought it’d be something FMOD would handle, but I guess if it’s this simple I can just do it :slight_smile:

1 Like