22 #ifndef MOHAWK_MYST_SOUND_H 23 #define MOHAWK_MYST_SOUND_H 25 #include "common/scummsys.h" 26 #include "common/str.h" 28 #include "audio/mixer.h" 31 class RewindableAudioStream;
37 class MohawkEngine_Myst;
45 void playEffect(uint16
id,
bool loop =
false);
47 bool isEffectPlaying();
50 void playBackground(uint16
id, uint16 volume = 0xFFFF);
51 void pauseBackground();
52 void resumeBackground();
53 void stopBackground();
54 void changeBackgroundVolume(uint16 volume);
57 void playSpeech(uint16
id,
CueList *cueList =
nullptr);
58 bool isSpeechPlaying();
59 uint getSpeechNumSamplesPlayed();
66 uint16 convertMystID(uint16
id);
69 int _speechSamplesPerSecond;
Definition: audiostream.h:109
Definition: myst_sound.h:39