Fix some code formatting

This commit is contained in:
Clownacy 2020-08-29 18:10:59 +01:00
parent 40f78323df
commit 39067057c1

View file

@ -147,7 +147,7 @@ ATTRIBUTE_HOT void Mixer_MixSounds(long *stream, size_t frames_total)
const unsigned char subsample = sound->position_subsample >> 8;
const short interpolated_sample = sound->samples[sound->position] * (0x100 - subsample)
+ sound->samples[sound->position + 1] * subsample;
+ sound->samples[sound->position + 1] * subsample;
// Mix, and apply volume
*stream_pointer++ += (interpolated_sample * sound->volume_l) >> 8;