[Multiple] Sounds mute/reset after returning from menu
Moderator: Raze Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 210
- Joined: Sat Jan 18, 2020 6:10 am
[Multiple] Sounds mute/reset after returning from menu
Reporting for posterity. This happens in Duke, Blood and RR. Environment, player, enemy sounds get cut when entering menu, which is normal. However they don't continue when going back out of the menu. Easiest to test with Blood demo loop.
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Multiple] Sounds mute/reset after returning from menu
Just for clarification.
- Is this different from EDuke and NBlood?
- Do looping or repeating sounds get restarted after the menu?
- Is this different from EDuke and NBlood?
- Do looping or repeating sounds get restarted after the menu?
-
- Posts: 210
- Joined: Sat Jan 18, 2020 6:10 am
Re: [Multiple] Sounds mute/reset after returning from menu
Yes, at least in week old nightlies.Graf Zahl wrote: - Is this different from EDuke and NBlood?
No. I have to re-enter the sector that triggers it.Graf Zahl wrote:- Do looping or repeating sounds get restarted after the menu?
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Multiple] Sounds mute/reset after returning from menu
Ok. Currently the sounds are just terminated. I think it may be better to pause game sounds while in the menu and restart afterward, that should eliminate these issues.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [Multiple] Sounds mute/reset after returning from menu
Although not of much help I think - considering that ambient sounds are broken in SW currently - I checked how VoidSW behaves in this regard and it seems ambient sounds in the level at least keep looping while the menu is open, and the one-liners finish instead of being cut off the moment it's opened.
Sound effects such as explosions do seem to get stopped there when opening the menu though, they don't seem to keep looping or restart after resuming the game.
Sound effects such as explosions do seem to get stopped there when opening the menu though, they don't seem to keep looping or restart after resuming the game.
-
- Posts: 1349
- Joined: Tue Nov 05, 2019 6:48 am
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
Re: [Multiple] Sounds mute/reset after returning from menu
Update here, regarding one-liners specifically this time:
Opening the menu in Raze while one-liners are playing causes them to be cut off. In EDuke32 and Rednukem opening the menu only pauses the one-liners and they resume correctly after closing it, while in Raze they just stop. In NBlood and VoidSW the one-liners play uninterrupted when opening menus, but that's not exactly optimal. The Duke route seems to be the best to take here.
Opening the menu in Raze while one-liners are playing causes them to be cut off. In EDuke32 and Rednukem opening the menu only pauses the one-liners and they resume correctly after closing it, while in Raze they just stop. In NBlood and VoidSW the one-liners play uninterrupted when opening menus, but that's not exactly optimal. The Duke route seems to be the best to take here.
-
- Lead GZDoom+Raze Developer
- Posts: 49141
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Multiple] Sounds mute/reset after returning from menu
Menu now pauses the sound system instead of stopping all sounds.