ref: 4f80ff4139a5a0b48e2290e425e126f2c29301cf
parent: 04faccb259e951117dfdd73ad6a20641a2361bc4
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Apr 19 15:44:06 EDT 2020
Correct a typo
--- a/src/Backends/Audio/SoftwareMixer.cpp
+++ b/src/Backends/Audio/SoftwareMixer.cpp
@@ -140,7 +140,7 @@
{
if (sound->playing)
{
- float *steam_pointer = stream;
+ float *stream_pointer = stream;
for (unsigned int frames_done = 0; frames_done < frames_total; ++frames_done)
{
@@ -154,8 +154,8 @@
// Perform linear interpolation
const float interpolated_sample = sample1 + (sample2 - sample1) * position_fractional;
- *steam_pointer++ += interpolated_sample * sound->volume_l;
- *steam_pointer++ += interpolated_sample * sound->volume_r;
+ *stream_pointer++ += interpolated_sample * sound->volume_l;
+ *stream_pointer++ += interpolated_sample * sound->volume_r;
sound->position += sound->advance_delta;