LAGonauta / MetaAudio

GoldSrc engine plugin for 3D sound
GNU General Public License v2.0
98 stars 14 forks source link

NPC voices continue after pausing #26

Open ngmoviedo opened 3 years ago

ngmoviedo commented 3 years ago

When pausing the game most sounds stop, but if it is paused when an NPC is talking, its dialog lines can still be heard when in the pause menus. Most of the time it's not an important issue as it only interferes with the pacing, but I have noticed some cases in which it completely breaks the character's speech and even the progression. That happens, for example, during Half-Life's Hazard Course (tutorial). If escape is pressed when the holographic trainer is talking and then the game is resumed, the speech gets interrupted and the breaking of the script affects the opening of the door and thus makes a restart necessary. I've noticed this behaviour in the base games and in all the mods I've tried with metaaudio. As I've said it rarely leads to problems, but I haven't found any other references to this issue, so I report it in case it can be of interest. I'm using the Steam version on Windows 10. This is the output of al_version:

Meta Audio Version: 92b7efb1ffebb94e3d20ed89f6dd72b50264b16f OpenAL Device: OpenAL Soft on Altavoces (Realtek High Definition Audio) OpenAL Version: 1.1

LAGonauta commented 3 years ago

MetaAudio currently ignores the paused state of the game. I will see what I can do about it 👍