diff options
author | Vladimir Menshakov | 2011-06-13 20:50:21 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:46 +0200 |
commit | 1955df129fc1dc17181b1ec18c3fa7c98a18f79f (patch) | |
tree | a2c7b1b96abaf735f2f4f718da8574ae024ab316 /engines/dreamweb/dreamweb.h | |
parent | 74dfc349373e04d4243f3449c3f4939f8027c54f (diff) | |
download | scummvm-rg350-1955df129fc1dc17181b1ec18c3fa7c98a18f79f.tar.gz scummvm-rg350-1955df129fc1dc17181b1ec18c3fa7c98a18f79f.tar.bz2 scummvm-rg350-1955df129fc1dc17181b1ec18c3fa7c98a18f79f.zip |
DREAMWEB: added sound support
Diffstat (limited to 'engines/dreamweb/dreamweb.h')
-rw-r--r-- | engines/dreamweb/dreamweb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/dreamweb.h b/engines/dreamweb/dreamweb.h index eff955c990..447aff931f 100644 --- a/engines/dreamweb/dreamweb.h +++ b/engines/dreamweb/dreamweb.h @@ -109,6 +109,7 @@ private: void keyPressed(uint16 ascii); void setSpeed(uint speed); void soundHandler(); + void playSound(uint8 channel, uint8 id, uint8 loops); const DreamWebGameDescription *_gameDescription; Common::RandomSource _rnd; @@ -129,11 +130,10 @@ private: Common::Array<Sample> samples; Common::Array<uint8> data; }; - SoundData _soundData[2]; - Audio::SoundHandle _musicHandle, _soundHandle; - uint _channel0, _channel1; + Audio::SoundHandle _channelHandle[2]; + uint8 _channel0, _channel1; dreamgen::Context _context; }; |