22 #ifndef GRIM_IMUSE_TRACK_H 23 #define GRIM_IMUSE_TRACK_H 25 #include "engines/grim/imuse/imuse_sndmgr.h" 30 kFlagUnsigned = 1 << 0,
32 kFlagLittleEndian = 1 << 2,
34 kFlagReverseStereo = 1 << 4
85 for (uint i = 0; i <
ARRAYSIZE(soundName); i++) {
105 int getPan()
const {
return (pan != 64000) ? 2 * (pan / 1000) - 127 : 0; }
106 int getVol()
const {
return vol / 1000; }
109 if (volGroupId == IMUSE_VOLGRP_VOICE)
111 else if (volGroupId == IMUSE_VOLGRP_SFX)
113 else if (volGroupId == IMUSE_VOLGRP_MUSIC)
115 else if (volGroupId == IMUSE_VOLGRP_BGND)
117 else if (volGroupId == IMUSE_VOLGRP_ACTION)
#define ARRAYSIZE(x)
Definition: util.h:91
Definition: imuse_track.h:37
SoundType
Definition: mixer.h:62
Definition: audiostream.h:370
Definition: imuse_sndmgr.h:62