22 #ifndef SCI_SOUND_SOUNDCMD_H 23 #define SCI_SOUND_SOUNDCMD_H 25 #include "common/list.h" 26 #include "audio/mididrv.h" 27 #include "sci/engine/state.h" 33 class SoundCommandParser;
44 void reconstructPlayList();
47 void setMasterVolume(
int vol);
48 void pauseAll(
bool pause);
49 void resetGlobalPauseCounter();
50 bool isGlobalPauseActive()
const;
52 void setVolume(
const reg_t obj,
const int vol);
56 void startNewSound(
int number);
58 void stopAllSamples();
59 void printPlayList(
Console *con);
62 void processPlaySound(
reg_t obj,
bool playBed,
bool restoring =
false);
63 void processStopSound(
reg_t obj,
bool sampleFinishedPlaying);
68 ResourceType getSoundResourceType(
const uint16 resourceNo)
const {
70 return kResourceTypeAudio;
72 return kResourceTypeSound;
84 bool isDigitalSamplePlaying()
const;
119 void processInitSound(
reg_t obj);
120 void processDisposeSound(
reg_t obj);
121 void processUpdateCues(
reg_t obj);
122 uint16 getSoundResourceId(
reg_t obj);
129 bool isUninterruptableSoundPlaying(
reg_t obj);
134 #endif // SCI_SOUND_SOUNDCMD_H
SciVersion
Definition: detection.h:135
MusicType
Definition: mididrv.h:44
Definition: serializer.h:79
Definition: resource.h:327
Resource * testResource(const ResourceId &id) const
Definition: seg_manager.h:48
Definition: resource.h:161
Definition: soundcmd.h:36
Definition: vm_types.h:39