So I have an option in my pause menu in which you can change the speaker mode. I do this via:
AudioConfiguration ac = new AudioConfiguration ();
ac = AudioSettings.GetConfiguration ();
if (useS51) {
ac.speakerMode = AudioSpeakerMode.Mode5point1;
} else {
ac.speakerMode = AudioSpeakerMode.Stereo;
}
AudioSettings.Reset (ac);
However; as soon as this is called, the music in the level stops playing. If the music is stopped and played again, manually, then the music plays as normal. I’d rather not go through the hassle of resetting every audio source in the scene so is there any other way to keep the music playing and being able to change the speaker mode?
I’m using Unity 5.4.4f1 (64-Bit) on Windows 10.
Thank you.