22 #ifndef TOLTECS_SOUND_H 23 #define TOLTECS_SOUND_H 25 #include "audio/mixer.h" 27 #include "toltecs/toltecs.h" 33 enum SoundChannelType {
34 kChannelTypeEmpty = 0,
35 kChannelTypeBackground = -1,
37 kChannelTypeSpeech = -3
48 const int kMaxChannels = 4;
55 void playSpeech(int16 resIndex);
56 void playSound(int16 resIndex, int16 type, int16 volume);
57 void playSoundAtPos(int16 resIndex, int16 x, int16 y);
70 void clearChannel(
int channel);
71 void internalPlaySound(int16 resIndex, int16 type, int16 volume, int16 panning);
Definition: animation.h:28
SoundType
Definition: mixer.h:62