diff options
Diffstat (limited to 'scumm/smush/smush_player.cpp')
-rw-r--r-- | scumm/smush/smush_player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 2940cda6b9..5d6d764bf7 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -43,6 +43,7 @@ #include "scumm/insane/insane.h" #include "sound/mixer.h" +#include "sound/vorbis.h" #ifdef DUMP_SMUSH_FRAMES #include <png.h> @@ -1162,7 +1163,7 @@ void SmushPlayer::tryOggFile(const char *filename) { if (_compressedFile.isOpen()) { int size = _compressedFile.size(); _compressedFileMode = true; - _vm->_mixer->playVorbis(&_compressedFileSoundHandle, &_compressedFile, size); + _vm->_mixer->playInputStream(&_compressedFileSoundHandle, makeVorbisStream(&_compressedFile, size), false); } #endif } |