Boost OPL3 output to about the level of WinMM

git-svn-id: https://svn.eduke32.com/eduke32@8240 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-10-20 11:41:58 +00:00 committed by Christoph Oelckers
parent 8827a0e84b
commit d1ccbab5ea
1 changed files with 2 additions and 2 deletions

View File

@ -528,8 +528,8 @@ static void _MIDI_ServiceMultivoc(void)
}
if (MV_MIDIRenderTempo >= 0) MV_MIDIRenderTimer += MV_MIDIRenderTempo;
OPL3_GenerateResampled(AL_GetChip(), buf);
*buffer16++ = clamp(buf[0]<<1, INT16_MIN, INT16_MAX);
*buffer16++ = clamp(buf[1]<<1, INT16_MIN, INT16_MAX);
*buffer16++ = clamp(buf[0]<<3, INT16_MIN, INT16_MAX);
*buffer16++ = clamp(buf[1]<<3, INT16_MIN, INT16_MAX);
}
}