Fix typo
This commit is contained in:
parent
2ee1bf131e
commit
1ff5772843
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ ATTRIBUTE_HOT void Mixer_MixSounds(short *stream, unsigned int frames_total)
|
|||
*stream_pointer++ += (interpolated_sample * sound->volume_l) >> 8;
|
||||
*stream_pointer++ += (interpolated_sample * sound->volume_r) >> 8;
|
||||
|
||||
// Incrememt sample
|
||||
// Increment sample
|
||||
sound->sample_offset_remainder += sound->advance_delta;
|
||||
sound->position += sound->sample_offset_remainder >> 16;
|
||||
sound->sample_offset_remainder &= 0xFFFF;
|
||||
|
|
Loading…
Add table
Reference in a new issue