22 #ifndef ULTIMA4_SOUND_H 23 #define ULTIMA4_SOUND_H 25 #include "ultima/shared/std/containers.h" 26 #include "audio/audiostream.h" 27 #include "audio/mixer.h" 28 #include "common/str.h" 57 SOUND_PREMAGIC_MANA_JUMBLE,
68 void soundPlay(Sound sound,
bool onlyOnce =
true,
int specificDurationInTicks = -1);
70 void soundStop(
int channel = 1);
79 bool load(Sound sound);
81 void play_sys(Sound sound,
bool onlyOnce,
int specificDurationMilli);
82 bool load_sys(Sound sound,
const Common::Path &filename);
83 void stop_sys(
int channel);
88 void play(Sound sound,
bool onlyOnce =
true,
int specificDurationInTicks = -1);
89 void stop(
int channel = 1);
Definition: detection.h:27