aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-17 12:29:58 +0000
committerFilippos Karapetis2010-06-17 12:29:58 +0000
commit0e365131ac58b7504e9e16b08a8b3125b6b37027 (patch)
tree00ce7518d4e381726ceab9c4575d6a14095e2657 /engines/sci/sound
parentcf86b447939a3baea5aa3bd53450f8f56f436740 (diff)
downloadscummvm-rg350-0e365131ac58b7504e9e16b08a8b3125b6b37027.tar.gz
scummvm-rg350-0e365131ac58b7504e9e16b08a8b3125b6b37027.tar.bz2
scummvm-rg350-0e365131ac58b7504e9e16b08a8b3125b6b37027.zip
Fixed wPlayAudio, and added some documentation on the 3 new kDoAudio subops. Digital sounds in Pharkas work again
svn-id: r49928
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp
index ac3ef54c9a..0e235ee400 100644
--- a/engines/sci/sound/audio.cpp
+++ b/engines/sci/sound/audio.cpp
@@ -82,7 +82,7 @@ int AudioPlayer::wPlayAudio(uint16 module, uint32 tuple) {
// sample length and return that. wPlayAudio should *not* actually start the sample.
int sampleLen = 0;
- Audio::AudioStream *audioStream = getAudioStream(module, tuple, &sampleLen);
+ Audio::AudioStream *audioStream = getAudioStream(tuple, module, &sampleLen);
if (!audioStream)
warning("wPlayAudio: unable to create stream for audio tuple %d, module %d", tuple, module);
delete audioStream;