aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorjohndoe1232013-01-03 22:38:56 +0000
committerWillem Jan Palenstijn2013-05-08 20:47:38 +0200
commit060287a4f85189cce3bb3b1b864b85cd81ee5c2f (patch)
tree62d539c5a9cbd345efd88e97e769563f2a1ebc05 /video
parent99e15e400537d85ff9f68cc10973b6d2c36c1776 (diff)
downloadscummvm-rg350-060287a4f85189cce3bb3b1b864b85cd81ee5c2f.tar.gz
scummvm-rg350-060287a4f85189cce3bb3b1b864b85cd81ee5c2f.tar.bz2
scummvm-rg350-060287a4f85189cce3bb3b1b864b85cd81ee5c2f.zip
NEVERHOOD: Improve frame-exact seeking for Scene2802
Thanks to clone2727 for his help!
Diffstat (limited to 'video')
-rw-r--r--video/smk_decoder.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/video/smk_decoder.h b/video/smk_decoder.h
index 7227238373..e4bc9bab42 100644
--- a/video/smk_decoder.h
+++ b/video/smk_decoder.h
@@ -122,7 +122,6 @@ protected:
Common::SeekableReadStream *_fileStream;
-private:
enum AudioCompression {
kCompressionNone,
kCompressionDPCM,
@@ -151,6 +150,10 @@ private:
uint32 dummy;
} _header;
+ uint32 *_frameSizes;
+
+private:
+
class SmackerAudioTrack : public AudioTrack {
public:
SmackerAudioTrack(const AudioInfo &audioInfo, Audio::Mixer::SoundType soundType);
@@ -173,7 +176,6 @@ private:
AudioInfo _audioInfo;
};
- uint32 *_frameSizes;
// The FrameTypes section of a Smacker file contains an array of bytes, where
// the 8 bits of each byte describe the contents of the corresponding frame.
// The highest 7 bits correspond to audio frames (bit 7 is track 6, bit 6 track 5