diff options
author | Nipun Garg | 2019-07-25 04:19:51 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:28 +0200 |
commit | 4a44f62b10f7744a363ce448822b71d4abae95e6 (patch) | |
tree | 6d88462cfeac92cd429221043bab4952b6785518 /engines/hdb/sound.h | |
parent | 2ba18da94dd0c4fc3bfac59c1d57d760e80bf9ad (diff) | |
download | scummvm-rg350-4a44f62b10f7744a363ce448822b71d4abae95e6.tar.gz scummvm-rg350-4a44f62b10f7744a363ce448822b71d4abae95e6.tar.bz2 scummvm-rg350-4a44f62b10f7744a363ce448822b71d4abae95e6.zip |
HDB: Add extension field to SoundCache
Diffstat (limited to 'engines/hdb/sound.h')
-rw-r--r-- | engines/hdb/sound.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h index 0dbb1cfc30..67b8d10da5 100644 --- a/engines/hdb/sound.h +++ b/engines/hdb/sound.h @@ -1413,10 +1413,11 @@ struct SoundCache { int32 size; // size of sound const char *name; // filename / MSD name const char *luaName; // name used by Lua for i.d. + int ext; // 0 = Uninitialized, -1 = WAV, 1 = MP3 //void *data; // actual file data //FSOUND_SAMPLE *sample; // used to play sound in FMOD - SoundCache() : loaded(0), size(0), name(nullptr), luaName(nullptr) { + SoundCache() : loaded(0), size(0), name(nullptr), luaName(nullptr), ext(0) { } }; |