25 #include "common/scummsys.h" 26 #include "audio/audiostream.h" 27 #include "audio/mixer.h" 31 class ResourceManager;
45 SoundData() : _size(0), _data(
nullptr), _flags(0) {}
56 void playAmigaSfx(
const Common::String &filename, byte channel, byte volume);
60 void playMusic(
int num);
64 void playSFX(
int num);
66 void playMusicOrSFX(
int num);
67 void stopMusicOrSFX(
int num);
69 void stopSfxForChannel(byte channel);
70 void stopSfxByNum(
int num);
73 bool playPCM(
const byte *data, uint32 size);
82 void processDisposeSound(uint32 obj);
83 void processStopSound(uint32 obj,
bool sampleFinishedPlaying);
84 void processPlaySound(uint32 obj,
bool playBed,
bool restoring,
const SoundData &data);
87 int mapSfxNum(
int num)
const;
88 int mapMusicNum(
int num)
const;
108 DIGITAL_PCM = 1 << 0,
109 TRACK_ADLIB = 1 << 1,
113 TRACK_PCSPK = 1 << 5,
114 TRACK_TANDY = 1 << 6,
119 #endif // DGDS_SOUND_H
SoundType
Definition: mixer.h:62
Definition: audiostream.h:50
Definition: decompress.h:67
Definition: resource.h:49