diff options
author | Paul Gilbert | 2016-09-17 15:59:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-17 15:59:07 -0400 |
commit | 94606db1bfcfd7403fa663698ac6994de7b72d7c (patch) | |
tree | c16bcaf21a447210cece6b3c361cec6e94fc836e | |
parent | ad9e00d213115971ad298b8394eeb6f2fe7349e6 (diff) | |
download | scummvm-rg350-94606db1bfcfd7403fa663698ac6994de7b72d7c.tar.gz scummvm-rg350-94606db1bfcfd7403fa663698ac6994de7b72d7c.tar.bz2 scummvm-rg350-94606db1bfcfd7403fa663698ac6994de7b72d7c.zip |
XEEN: Fix playback of VOC resources
-rw-r--r-- | engines/xeen/sound.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/xeen/sound.cpp b/engines/xeen/sound.cpp index 360cfc89da..64858dfb1f 100644 --- a/engines/xeen/sound.cpp +++ b/engines/xeen/sound.cpp @@ -20,6 +20,7 @@ * */ +#include "audio/decoders/raw.h" #include "audio/decoders/voc.h" #include "xeen/sound.h" #include "xeen/xeen.h" @@ -39,7 +40,8 @@ void Sound::playSound(Common::SeekableReadStream &s, int unused) { stopSound(); Common::SeekableReadStream *srcStream = s.readStream(s.size()); - Audio::SeekableAudioStream *stream = Audio::makeVOCStream(srcStream, 0, DisposeAfterUse::YES); + Audio::SeekableAudioStream *stream = Audio::makeVOCStream(srcStream, + Audio::FLAG_UNSIGNED, DisposeAfterUse::YES); _mixer->playStream(Audio::Mixer::kSFXSoundType, &_soundHandle, stream); } |