aboutsummaryrefslogtreecommitdiff
path: root/sound/wave.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/wave.cpp')
-rw-r--r--sound/wave.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/wave.cpp b/sound/wave.cpp
index 63bd498686..a0f1f675fb 100644
--- a/sound/wave.cpp
+++ b/sound/wave.cpp
@@ -192,7 +192,7 @@ AudioStream *makeWAVStream(Common::SeekableReadStream &stream) {
// Since we allocated our own buffer for the data, we must set the autofree flag.
flags |= Audio::Mixer::FLAG_AUTOFREE;
- return makeLinearInputStream(rate, flags, data, size, 0, 0);
+ return makeLinearInputStream(data, size, rate, flags, 0, 0);
}
} // End of namespace Audio