View Issue Details

IDProjectCategoryView StatusLast Update
0000611Gameplay + OpenGL[All Projects] Bugpublic2017-04-21 03:30
ReporterEd the Bat 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000611: OpenAL: Volume resets in Windows Sound Mixer between maps
DescriptionIf using OpenAL when loading a new map (must not be part of current map's hub), GZDoom's volume in Windows Sound Mixer will automatically reset itself to match system master volume.

Confirmed in GZDoom g3.0pre-25-g403634c (latest devbuild as of posting).
Steps To ReproduceLaunch GZDoom, adjust volume in Windows Sound Mixer, load map (new game from title screen in IWAD will suffice).
TagsNo tags attached.

Relationships

Activities

_mental_

_mental_

2017-04-21 02:02

developer   ~0001493

Somehow related to changing of the current music track between maps. Also reproduces with endgame CCMD.
Volume remains persistent with -nomusic command line switch.
Chris

Chris

2017-04-21 02:52

developer   ~0001494

Do you have a Windows MIDI device selected for music? There's some code in sound/mididevices/music_win_mididevice.cpp that seems to suggest setting the MIDI volume affects the application's volume instead of just the stream on Vista+. It tries to detect that and ignore the MIDI device's volume control in such a case, but perhaps that check is failing and it's setting the MIDI volume anyway, which would reset the application's volume like this describes.
Ed the Bat

Ed the Bat

2017-04-21 02:57

reporter   ~0001495

Yes, I do use Sound System as my MIDI device. In fact, based on this, perhaps I was mistaken about the circumstances regarding hub maps. The maps in the hub I tested happen to use OGG music, which is why they were not presenting the issue.
Graf Zahl

Graf Zahl

2017-04-21 03:30

administrator   ~0001496

Chris guessed right. The code was there to detect the broken device but failed, because the current device is probably the MIDI mapper.

In this case I have to assume the worst and consider all MIDI mapper devices broken, because the system provides no means to look behind it, and for most people it's going to be the default GS synth.

Issue History

Date Modified Username Field Change
2017-04-20 20:13 Ed the Bat New Issue
2017-04-21 02:02 _mental_ Status new => confirmed
2017-04-21 02:02 _mental_ Note Added: 0001493
2017-04-21 02:52 Chris Note Added: 0001494
2017-04-21 02:57 Ed the Bat Note Added: 0001495
2017-04-21 03:30 Graf Zahl Note Added: 0001496
2017-04-21 03:30 Graf Zahl Status confirmed => resolved
2017-04-21 03:30 Graf Zahl Resolution open => fixed