diff options
Diffstat (limited to 'engines/toltecs/movie.h')
-rw-r--r-- | engines/toltecs/movie.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/toltecs/movie.h b/engines/toltecs/movie.h index 9ab5435121..40b1f2ea27 100644 --- a/engines/toltecs/movie.h +++ b/engines/toltecs/movie.h @@ -47,16 +47,23 @@ namespace Toltecs { class MoviePlayer { public: - MoviePlayer(ToltecsEngine *vm); - ~MoviePlayer(); + MoviePlayer(ToltecsEngine *vm); + ~MoviePlayer(); void playMovie(uint resIndex); protected: - ToltecsEngine *_vm; + ToltecsEngine *_vm; + Audio::AppendableAudioStream *_audioStream; + Audio::SoundHandle _audioStreamHandle; + + uint32 _chunkCount, _frameCount, _lastPrefetchOfs; + uint32 _soundChunkFramesLeft, _framesPerSoundChunk; void unpackPalette(byte *source, byte *dest, int elemCount, int elemSize); void unpackRle(byte *source, byte *dest); + + void fetchAudioChunks(); }; |