Fix volume slider bug introduced in r7773

git-svn-id: https://svn.eduke32.com/eduke32@7780 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-09 05:42:23 +00:00 committed by Christoph Oelckers
parent c233d58cf8
commit cfa40f33df
2 changed files with 3 additions and 3 deletions

View file

@ -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
{

View file

@ -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
{