diff options
Diffstat (limited to 'engines/toltecs/movie.cpp')
-rw-r--r-- | engines/toltecs/movie.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/toltecs/movie.cpp b/engines/toltecs/movie.cpp index ab920d5c49..8cc627477c 100644 --- a/engines/toltecs/movie.cpp +++ b/engines/toltecs/movie.cpp @@ -31,6 +31,7 @@ #include "base/version.h" #include "sound/mixer.h" +#include "sound/raw.h" #include "toltecs/toltecs.h" #include "toltecs/movie.h" @@ -197,7 +198,7 @@ void MoviePlayer::fetchAudioChunks() { if (chunkType == 4) { byte *chunkBuffer = new byte[chunkSize]; _vm->_arc->read(chunkBuffer, chunkSize); - _audioStream->queueBuffer(chunkBuffer, chunkSize, DisposeAfterUse::YES, Audio::Mixer::FLAG_UNSIGNED); + _audioStream->queueBuffer(chunkBuffer, chunkSize, DisposeAfterUse::YES, Audio::FLAG_UNSIGNED); chunkBuffer = NULL; prefetchChunkCount++; _soundChunkFramesLeft += _framesPerSoundChunk; |