RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.38k stars 247 forks source link

Paused audio does still go on #805

Open ghost opened 8 months ago

ghost commented 8 months ago

It looks like (at least on the openal backend on linux) when the game is paused, the NPCs audio still goes on for some reason instead of being paused at the exact time the game was. The vanilla game from steam instead works as intended.

MadDeCoDeR commented 4 months ago

That is probably because of how XAudio2 and OpenAL handle audio pausing. With XAudio2 the engine was using some rather hacky tricks to pause and resume, while with OpenAL there are ready to use functions for that.