aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/sound.h8
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