aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/tucker.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-07 16:44:17 +0000
committerJohannes Schickel2010-01-07 16:44:17 +0000
commit4f52dcea66e412f2ccfb6527beb01777e5b2c850 (patch)
tree45930ba4a16016e85aec4f326561556bd7d2472a /engines/tucker/tucker.h
parentd5fe29c3c949fda84a5a7a276160d57e646fc952 (diff)
downloadscummvm-rg350-4f52dcea66e412f2ccfb6527beb01777e5b2c850.tar.gz
scummvm-rg350-4f52dcea66e412f2ccfb6527beb01777e5b2c850.tar.bz2
scummvm-rg350-4f52dcea66e412f2ccfb6527beb01777e5b2c850.zip
Adapt TUCKER to use RewindableAudioStream and Mixer::playInputStreamLooping. (Needs testing, please :-)
svn-id: r47130
Diffstat (limited to 'engines/tucker/tucker.h')
-rw-r--r--engines/tucker/tucker.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/tucker/tucker.h b/engines/tucker/tucker.h
index 05ec9cf60e..aff8e52550 100644
--- a/engines/tucker/tucker.h
+++ b/engines/tucker/tucker.h
@@ -232,7 +232,7 @@ public:
void openFile();
void closeFile();
- Audio::AudioStream *load(CompressedSoundType type, int num, bool loop);
+ Audio::RewindableAudioStream *load(CompressedSoundType type, int num);
private:
@@ -872,8 +872,7 @@ enum {
enum AnimationSoundType {
kAnimationSoundType8BitsRAW,
kAnimationSoundType16BitsRAW,
- kAnimationSoundTypeWAV,
- kAnimationSoundTypeLoopingWAV
+ kAnimationSoundTypeWAV
};
enum {
@@ -927,7 +926,7 @@ private:
void syncTime();
void loadSounds(int num);
- Audio::AudioStream *loadSound(int index, AnimationSoundType type);
+ Audio::RewindableAudioStream *loadSound(int index, AnimationSoundType type);
void updateSounds();
void fadeInPalette();
void fadeOutPalette();