-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volume set to 0 in Windows after completing demo recording. #727
Comments
Is the in-game sfx volume slider (F4) also set to 0? |
No, game volume is fine its just Windows sound mixer. |
Actually, it's when I push escape that it mutes. If I load the game and I push esc twice the audio volume is fixed (Rather than adjusting in sound mixer) If I'm not recording, this doesn't happen. |
Ah, I see. If you are recording a demo, entering the menu pauses the game which in turn mutes all audio. If you exit the game in this state, it seems that this muting is preserved. Could you please confirm that (1) ending a demo recording by pushing 'q' (i.e. without entering the menus) does not trigger this behavior and that (2) quitting a normal non-demo game while paused does trigger it? |
@PolarDawn ping |
@PolarDawn hello-o? |
Is there anybody else who experiences this bug and can help with my question? I just tried to reproduce it today, and indeed the Windows sound mixer mutes Crispy as soon as the menu is opened while recording a demo, but resets back to normal the next time I start the game. |
Patch idea: --- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -3171,6 +3171,7 @@ boolean G_CheckDemoStatus (void)
// [crispy] if a new game is started during demo recording, start a new demo
if (gameaction != ga_newgame)
{
+ S_ResumeSound(); // [crispy] unmute sound before exiting
I_Error ("Demo %s recorded",demoname);
}
else
|
Sorry for late, I'm here. Yeah, I can reproduce it on my side. Looks likes it happens only while MIDI playback, OPL and GUS seems to be fine. So far I can report -- nothing wrong happens with volume until I'm not recording a demo. I can exit with both paused/unpaused (or speaking technically, However, once I'm recording a demo and activating menu or pressing Your patch working fine while active game, but when I'm finishing demo record and starting a new game, volume is again zero-fied. Probably something wrong with Midiproc? |
Background
Version of Crispy Doom:
5.10.0
Operating System and version:
Windows 10 19042
Game: (Doom/Heretic/Hexen/Strife/other)
Doom
Any loaded WADs and mods (please include full command line):
I have a shortcut to Doom with the options "-IWAD IWAD/DOOM.WAD"
Then I call the shortcut:
& '.\DOOM.lnk' -skill 5 -warp 11 -longtics -record demos/e1m1
Bug description
Observed behavior:
Volume in Windows sound mixer is being set to 0 when closing the program.
You get this popup:

Volume is set to zero:

This means the next time you open Crispy Doom, the volume is set to zero and you have to minimise, adjust the volume, and open again.
Expected behavior:
Volume level shouldn't change
The text was updated successfully, but these errors were encountered: