diff options
author | Kari Salminen | 2007-08-21 09:12:00 +0000 |
---|---|---|
committer | Kari Salminen | 2007-08-21 09:12:00 +0000 |
commit | 55896e7584f00a4e04653971d6c655dbde01bf51 (patch) | |
tree | 793024990c04ef1fc168c44fac5e414ff491157d /engines/agi/sound.h | |
parent | 5155d8df626b31634a3256a0ddb9b08bdd32b6e4 (diff) | |
download | scummvm-rg350-55896e7584f00a4e04653971d6c655dbde01bf51.tar.gz scummvm-rg350-55896e7584f00a4e04653971d6c655dbde01bf51.tar.bz2 scummvm-rg350-55896e7584f00a4e04653971d6c655dbde01bf51.zip |
Added note of clarification on enum AgiSoundType's different values.
svn-id: r28684
Diffstat (limited to 'engines/agi/sound.h')
-rw-r--r-- | engines/agi/sound.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/agi/sound.h b/engines/agi/sound.h index 9ef4ebd20b..e075e9820e 100644 --- a/engines/agi/sound.h +++ b/engines/agi/sound.h @@ -209,9 +209,13 @@ struct IIgsChannelInfo { bool end; ///< Has the playing ended? }; + /** + * AGI sound resource types. + * It's probably coincidence that all the values here are powers of two + * as they're simply the different used values in AGI sound resources' + * starts (The first 16-bit little endian word, to be precise). + */ enum AgiSoundType { - // FIXME: Fingolfin wonders: Why are bitmasks used here, when those - // types seem to be mutually exclusive? AGI_SOUND_SAMPLE = 0x0001, AGI_SOUND_MIDI = 0x0002, AGI_SOUND_4CHN = 0x0008 |