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);
68 void pauseMusicOrSFX(
int num);
69 void unpauseMusicOrSFX(
int num);
71 void stopSfxForChannel(byte channel);
72 void stopSfxByNum(
int num);
75 bool playPCM(
const byte *data, uint32 size);
87 void processDisposeSound(uint32 obj);
88 void processStopSound(uint32 obj,
bool sampleFinishedPlaying);
89 void processPlaySound(uint32 obj,
bool playBed,
bool restoring,
const SoundData &data);
92 int mapSfxNum(
int num)
const;
93 int mapMusicNum(
int num)
const;
116 DIGITAL_PCM = 1 << 0,
117 TRACK_ADLIB = 1 << 1,
121 TRACK_PCSPK = 1 << 5,
122 TRACK_TANDY = 1 << 6,
127 #endif // DGDS_SOUND_H
SoundType
Definition: mixer.h:62
Definition: audiostream.h:50
Definition: decompress.h:67
Definition: resource.h:48