Exit button's sound effect cutting out

Post bugs that have to do with sound and/or in-game music here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Rubiko
Posts: 4
Joined: Wed Jul 27, 2022 10:48 am

Exit button's sound effect cutting out

Post by Rubiko »

https://streamable.com/xoq01i

GZDoom 4.10.0
Windows 10 22H2 x64
User avatar
Chris
Posts: 2941
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: Exit button's sound effect cutting out

Post by Chris »

I believe this is normal. When you play a map, sounds are loaded and cached as needed, so once they're played they can be played again without having to reload them. At the end of each map, all sounds are unloaded to prevent the number of loaded sounds from growing indefinitely and taking up too much memory. To unload sounds, they must be stopped, which includes the sound of the exit switch.

I'm not sure if this could be fixed in a way that wouldn't risk other problems, since there could be mods that expect the exit sound to not play over the intermission screen (e.g. if there's a relatively long custom switch sound, and it's expected the exit switch sound is forced to stop before the intermission music and tally sounds kick in).
Rubiko
Posts: 4
Joined: Wed Jul 27, 2022 10:48 am

Re: Exit button's sound effect cutting out

Post by Rubiko »

BTW, DOS and Chocolate Doom don't have this issue.

Return to “Audio/Music Bugs”