View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000611 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-04-20 20:13 | 2017-04-21 03:30 |
Reporter | Ed the Bat | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000611: OpenAL: Volume resets in Windows Sound Mixer between maps | ||||
Description | If 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 Reproduce | Launch GZDoom, adjust volume in Windows Sound Mixer, load map (new game from title screen in IWAD will suffice). | ||||
Tags | No tags attached. | ||||
Somehow related to changing of the current music track between maps. Also reproduces with endgame CCMD. Volume remains persistent with -nomusic command line switch. |
|
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. | |
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. | |
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. |
|
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 |