mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
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:
parent
8827a0e84b
commit
d1ccbab5ea
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue