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

**URL:** https://qa.fmod.com/t/how-do-i-mute-or-disable-fmod-so-that-itunes-music-will-play-ios/14161
**Category:** FMOD Studio
**Created:** [October 25, 2018, 1:46pm UTC](https://qa.fmod.com/t/how-do-i-mute-or-disable-fmod-so-that-itunes-music-will-play-ios/14161 "2018-10-25T13:46:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bluegiraffe](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/bluegiraffe/32/946_2.png) [@bluegiraffe](https://qa.fmod.com/u/bluegiraffe)
#### Post date: [October 25, 2018, 1:46pm UTC](https://qa.fmod.com/t/how-do-i-mute-or-disable-fmod-so-that-itunes-music-will-play-ios/14161/1 "2018-10-25T13:46:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Koca](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@Koca](https://qa.fmod.com/u/Koca)
#### Post date: [October 25, 2018, 6:53pm UTC](https://qa.fmod.com/t/how-do-i-mute-or-disable-fmod-so-that-itunes-music-will-play-ios/14161/2 "2018-10-25T18:53:50Z")

</div>

Hi,  
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.  
Cheers

---

<div class="post-metadata">

### Author: ![bluegiraffe](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/bluegiraffe/32/946_2.png) [@bluegiraffe](https://qa.fmod.com/u/bluegiraffe)
#### Post date: [October 25, 2018, 8:14pm UTC](https://qa.fmod.com/t/how-do-i-mute-or-disable-fmod-so-that-itunes-music-will-play-ios/14161/3 "2018-10-25T20:14:32Z")

</div>

I found it. [https://stackoverflow.com/questions/29024320/how-can-i-allow-background-music-to-continue-playing-while-my-app-still-plays-it](https://stackoverflow.com/questions/29024320/how-can-i-allow-background-music-to-continue-playing-while-my-app-still-plays-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 🙂
