22 #ifndef SHERLOCK_SOUND_H 23 #define SHERLOCK_SOUND_H 25 #include "common/scummsys.h" 26 #include "common/str.h" 27 #include "audio/mixer.h" 28 #include "access/files.h" 35 WAIT_RETURN_IMMEDIATELY = 0, WAIT_FINISH = 1, WAIT_KBD_OR_FINISH = 2
38 #define MAX_MIXER_CHANNELS 10 53 byte decodeSample(byte sample, byte& reference, int16&
scale);
118 void freeDigiSound();
Definition: animation.h:29
Graphics::Surface * scale(const Graphics::Surface &srcImage, int xSize, int ySize)
bool playSound(const Common::Path &name, WaitType waitType, int priority=100, const Common::Path &libraryFilename=Common::Path())
SoundType
Definition: mixer.h:62
void playAiff(const Common::Path &name, int volume=Audio::Mixer::kMaxChannelVolume, bool loop=false)
void playLoadedSound(int bufNum, WaitType waitType)
void loadSound(const Common::Path &name, int priority)
Definition: sherlock.h:76
Audio::SoundHandle & getFreeSoundHandle()
void setVolume(int volume)
void playSpeech(const Common::Path &name)