22#ifndef TOLTECS_SOUND_H
23#define TOLTECS_SOUND_H
25#include "audio/mixer.h"
27#include "toltecs/toltecs.h"
33enum SoundChannelType {
34 kChannelTypeEmpty = 0,
35 kChannelTypeBackground = -1,
37 kChannelTypeSpeech = -3
48const 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);
SoundType
Definition: mixer.h:73
Definition: toltecs.h:104