diff options
Diffstat (limited to 'engines/gob/sound/sounddesc.h')
-rw-r--r-- | engines/gob/sound/sounddesc.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/gob/sound/sounddesc.h b/engines/gob/sound/sounddesc.h index ed4447254c..fe1da14760 100644 --- a/engines/gob/sound/sounddesc.h +++ b/engines/gob/sound/sounddesc.h @@ -32,6 +32,7 @@ namespace Gob { enum SoundType { SOUND_SND, + SOUND_WAV, SOUND_ADL }; @@ -57,7 +58,7 @@ public: bool isId(int16 id) const { return _dataPtr && (_id == id); } void set(SoundType type, SoundSource src, byte *data, uint32 dSize); - void load(SoundType type, SoundSource src, byte *data, uint32 dSize); + bool load(SoundType type, SoundSource src, byte *data, uint32 dSize); void free(); void convToSigned(); @@ -76,8 +77,9 @@ private: SoundType _type; SoundSource _source; - void loadSND(byte *data, uint32 dSize); - void loadADL(byte *data, uint32 dSize); + bool loadSND(byte *data, uint32 dSize); + bool loadWAV(byte *data, uint32 dSize); + bool loadADL(byte *data, uint32 dSize); }; } // End of namespace Gob |