# Audio Output Configurations and platform exclusion

**URL:** <https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806>\
**Category:** Unity\
**Created:** [May 25, 2020, 8:02am UTC](https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806 "2020-05-25T08:02:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GSolvberg](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@GSolvberg](https://qa.fmod.com/u/GSolvberg)\
**Post date:** [May 25, 2020, 8:02am UTC](https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806/1 "2020-05-25T08:02:36Z")

</div>

Hello,  
We are currently looking into using the Audio Output Configurations feature to have different mixes for headsets and speakers etc. However, I cannot find any examples of how to implement this in code, neither in general or Unity specifically. From the manual it seems that we have to stop all audio and unload all banks when doing this, but there is no indication if this is someting the runtime does, or I have to do etc. I would love som clarifications on the steps needed to set this up.

Also, we are using the Streaming Assets import type in Unity. From what I can see, there is no way to get FMOD to import all platform variations to the folder at the same time (Speakers, headsets etc). Since all these variations are needed at runtime and build time, will I need to write my own import code to get support for this?

Thanks!

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [June 1, 2020, 2:22am UTC](https://qa.fmod.com/t/audio-output-configurations-and-platform-exclusion/15806/2 "2020-06-01T02:22:27Z")

</div>

Yes, you are correct that for this method you will need to unload all banks and load the banks for the new audio configuration. This would just be a case of unloading all banks with `bank.unload()` on all loaded banks (you can also utilize `system.getBankList()` to get an array of all loaded banks).

[https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-bank.html#studio\_bank\_unload](https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-bank.html#studio_bank_unload)

[https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-system.html#studio\_system\_getbanklist](https://www.fmod.com/resources/documentation-api?version=2.0&page=studio-api-system.html#studio_system_getbanklist)

In Unity, you would need to set the import type to Asset Bundle in order to have multiple bank sets for the same platform. In this setting you need to load all banks manually.
