diff --git a/source/audiolib/src/mix.cpp b/source/audiolib/src/mix.cpp index ab08cde9c..f668a49fa 100644 --- a/source/audiolib/src/mix.cpp +++ b/source/audiolib/src/mix.cpp @@ -124,7 +124,7 @@ uint32_t MV_Mix16BitStereo16(struct VoiceNode * const voice, uint32_t length) uint32_t position = voice->position; uint32_t const rate = voice->RateScale; - float const volume = voice->volume; + float const volume = voice->volume*MV_GlobalVolume; do { diff --git a/source/audiolib/src/mixst.cpp b/source/audiolib/src/mixst.cpp index a3c7fa88e..8f0fcad3a 100644 --- a/source/audiolib/src/mixst.cpp +++ b/source/audiolib/src/mixst.cpp @@ -96,7 +96,7 @@ uint32_t MV_Mix16BitMono16Stereo(struct VoiceNode * const voice, uint32_t length uint32_t position = voice->position; uint32_t const rate = voice->RateScale; - float const volume = voice->volume; + float const volume = voice->volume*MV_GlobalVolume; do { @@ -127,7 +127,7 @@ uint32_t MV_Mix16BitStereo16Stereo(struct VoiceNode * const voice, uint32_t leng uint32_t position = voice->position; uint32_t const rate = voice->RateScale; - float const volume = voice->volume; + float const volume = voice->volume*MV_GlobalVolume; do {