diff options
author | Filippos Karapetis | 2009-08-17 11:49:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-08-17 11:49:07 +0000 |
commit | a9eb98c2184d670ab1f0e730ff75f189e925ae8c (patch) | |
tree | 1702e53b284c76334c8ffb8eb18d02e89fcbcfd1 /engines/saga/sound.h | |
parent | c368f60a1d7984ed5e77a7afb3714d92ebcf61ce (diff) | |
download | scummvm-rg350-a9eb98c2184d670ab1f0e730ff75f189e925ae8c.tar.gz scummvm-rg350-a9eb98c2184d670ab1f0e730ff75f189e925ae8c.tar.bz2 scummvm-rg350-a9eb98c2184d670ab1f0e730ff75f189e925ae8c.zip |
Simplified the sound playing code by removing the boolean variables for signed, stereo, endian and sample bit information - now sound flags are used instead. Some cleanup.
svn-id: r43470
Diffstat (limited to 'engines/saga/sound.h')
-rw-r--r-- | engines/saga/sound.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/saga/sound.h b/engines/saga/sound.h index 7650357a78..0aeb54a55f 100644 --- a/engines/saga/sound.h +++ b/engines/saga/sound.h @@ -44,15 +44,12 @@ enum SOUND_FLAGS { struct SoundBuffer { uint16 frequency; - int sampleBits; - bool stereo; - bool isSigned; bool isCompressed; + byte flags; byte *buffer; size_t size; size_t originalSize; - bool isBigEndian; GameSoundTypes soundType; size_t fileOffset; }; |