aboutsummaryrefslogtreecommitdiff
path: root/sound/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 957b4bd0ed..5433032021 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -188,7 +188,7 @@ bool SoundMixer::bindToSystem(OSystem *syst) {
if (rate == 0)
error("OSystem returned invalid sample rate");
- return syst->set_sound_proc(this, onGenerateSamples, OSystem::SOUND_16BIT);
+ return syst->set_sound_proc(onGenerateSamples, this, OSystem::SOUND_16BIT);
}
void SoundMixer::stopAll() {