zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 6e838ba43db848a0645e96d8609310b23db7ea7b
parent b5f6a4049a4b9daaacdcc9861f94c2be0d658a58
Author: fundamental <[email protected]>
Date:   Sat, 20 Jul 2019 13:52:20 -0400

Fix failure to load master volume

Diffstat:
Msrc/Misc/Master.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp @@ -1617,7 +1617,7 @@ int Master::loadXML(const char *filename) void Master::getfromXML(XMLwrapper& xml) { if (xml.hasparreal("volume")) { - xml.getparreal("volume", Volume); + Volume = xml.getparreal("volume", Volume); } else { Volume = volume127ToFloat(xml.getpar127("volume", 0)); oldVolume = Volume;