aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/sound.h')
-rw-r--r--engines/sherlock/sound.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h
index c71a29c3f4..5654c50f6a 100644
--- a/engines/sherlock/sound.h
+++ b/engines/sherlock/sound.h
@@ -50,7 +50,16 @@ private:
Audio::SoundHandle _speechHandle;
int _curPriority;
+ /**
+ * Decode a sound sample
+ */
byte decodeSample(byte sample, byte& reference, int16& scale);
+
+ /**
+ * Handle playing a sound or speech
+ */
+ bool playSoundResource(const Common::String &name, const Common::String &libFilename,
+ Audio::Mixer::SoundType soundType, Audio::SoundHandle &handle, int volume);
public:
bool _digitized;
int _voices;