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();
@ kMaxChannelVolume
Definition: mixer.h:82
SoundType
Definition: mixer.h:73
Definition: sherlock.h:206
void playLoadedSound(int bufNum, WaitType waitType)
Audio::SoundHandle & getFreeSoundHandle()
void playAiff(const Common::Path &name, int volume=Audio::Mixer::kMaxChannelVolume, bool loop=false)
bool playSound(const Common::Path &name, WaitType waitType, int priority=100, const Common::Path &libraryFilename=Common::Path())
void setVolume(int volume)
void loadSound(const Common::Path &name, int priority)
void playSpeech(const Common::Path &name)