diff options
author | Travis Howell | 2005-04-04 11:43:25 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-04 11:43:25 +0000 |
commit | f230fe65e8b035d3bcbf3a45317cf56ac673fdfe (patch) | |
tree | 6de886f11751b849dfec6de3b695cd5410efba1d /scumm/sound.h | |
parent | d08068dff1ea02314d791c1248d72091d4d5d9e9 (diff) | |
download | scummvm-rg350-f230fe65e8b035d3bcbf3a45317cf56ac673fdfe.tar.gz scummvm-rg350-f230fe65e8b035d3bcbf3a45317cf56ac673fdfe.tar.bz2 scummvm-rg350-f230fe65e8b035d3bcbf3a45317cf56ac673fdfe.zip |
Add 8 sound channel support for HE games
-Allows sound looping to work
Added support for WAVE format musuc used in later HE100 games.
svn-id: r17372
Diffstat (limited to 'scumm/sound.h')
-rw-r--r-- | scumm/sound.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/sound.h b/scumm/sound.h index d86b7c5c45..88bf463d92 100644 --- a/scumm/sound.h +++ b/scumm/sound.h @@ -85,6 +85,7 @@ protected: int16 _currentMusic; public: SoundHandle _talkChannelHandle; // Handle of mixer channel actor is talking on + SoundHandle _heSoundChannels[8]; bool _soundsPaused; byte _sfxMode; @@ -100,6 +101,7 @@ public: void startTalkSound(uint32 offset, uint32 b, int mode, SoundHandle *handle = NULL); void stopTalkSound(); bool isMouthSyncOff(uint pos); + int getSoundElapsedTime(int sound) const; int isSoundRunning(int sound) const; bool isSoundInUse(int sound) const; void stopSound(int sound); |