Mute FMOD sounds when UE4 is out of focus (alt+tab)

,

Hi there, I am having problems to mute all the FMOD sounds when the game is not on focus (when I press alt+tab).

I know there is an Engine variable called “UnfocusedVolumeMultiplier” that I should put to 0.0, but this one does not work with FMOD sounds, can some one help me please?

Thank you very much and I hope you have a nice day.

Unfortunately we don’t have any way of handling this automatically, but you can set a callback OnApplicationActivationStateChanged and mute the master channel group in there.