mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- pass master volume to ZMusic library on startup
MIDI devices that don't output music through the sound system (like WinMM) ignored master volume setting https://forum.zdoom.org/viewtopic.php?t=66510
This commit is contained in:
parent
c74c38eef7
commit
33fb2a7856
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void I_CloseSound ();
|
||||||
// Maximum volume of all audio
|
// Maximum volume of all audio
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
||||||
CUSTOM_CVAR(Float, snd_mastervolume, 1.f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Float, snd_mastervolume, 1.f, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
|
||||||
{
|
{
|
||||||
if (self < 0.f)
|
if (self < 0.f)
|
||||||
self = 0.f;
|
self = 0.f;
|
||||||
|
|
Loading…
Reference in a new issue