# How to temporarily stop using FMOD in the game?

**URL:** <https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030>\
**Category:** Unity\
**Created:** [August 21, 2024, 9:52am UTC](https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030 "2024-08-21T09:52:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisakaCirno](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MisakaCirno](https://qa.fmod.com/u/MisakaCirno)\
**Post date:** [August 21, 2024, 9:52am UTC](https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030/1 "2024-08-21T09:52:53Z")

</div>

We are using FMOD in Unity’s mobile game project, we want to detect when the user has been inactive for a long time, temporarily stop FMOD, and wake up FMOD when the user restarts the operation. Is there a way to achieve this?

I see that `CoreSystem` has `close()` and `init()` apis, can I use them for this purpose?

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [August 22, 2024, 3:28am UTC](https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030/2 "2024-08-22T03:28:36Z")

</div>

The API call you’re looking for are likely [System::mixerSuspend](https://www.fmod.com/docs/2.02/api/core-api-system.html#system_mixersuspend) and [System::mixerResume](https://www.fmod.com/docs/2.02/api/core-api-system.html#system_mixerresume). It’s worth noting that you should avoid making FMOD API callbs between suspending and resuming, as you may run the risk of causing a deadlock.

---

<div class="post-metadata">

**Author:** ![MisakaCirno](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MisakaCirno](https://qa.fmod.com/u/MisakaCirno)\
**Post date:** [August 27, 2024, 8:23am UTC](https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030/3 "2024-08-27T08:23:59Z")

</div>

Is it possible to reduce the hardware performance overhead of FMOD when pausing in this way?

---

<div class="post-metadata">

**Author:** ![MisakaCirno](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MisakaCirno](https://qa.fmod.com/u/MisakaCirno)\
**Post date:** [August 27, 2024, 10:50am UTC](https://qa.fmod.com/t/how-to-temporarily-stop-using-fmod-in-the-game/22030/4 "2024-08-27T10:50:30Z")

</div>

I ignored the description in the documentation, which can really reduce the overhead of hardware performance:

> Used on mobile platforms when entering a backgrounded state to reduce CPU to 0%.
