22 #ifndef ULTIMA8_AUDIO_MIDI_PLAYER_H 23 #define ULTIMA8_AUDIO_MIDI_PLAYER_H 25 #include "audio/mixer.h" 26 #include "audio/mididrv_ms.h" 27 #include "audio/midiparser.h" 40 void load(byte *data,
size_t size,
int seqNo);
53 void play(
int trackNo,
int branchNo);
105 bool isFMSynth()
const {
109 static void xmidiCallback(byte eventData,
void *data);
111 byte getSequenceCallbackData(
int seq)
const {
112 assert(seq == 0 || seq == 1);
113 return _callbackData[seq];
117 static void timerCallback(
void *data);
125 bool _playingTransition;
126 static byte _callbackData[2];
bool hasBranchIndex(uint8 index)
void play(int trackNo, int branchNo)
Definition: mididrv_ms.h:86
void playTransition(int trackNo, bool overlay)
Definition: detection.h:27
Definition: midi_player.h:32
void load(byte *data, size_t size, int seqNo)
void loadTransitionData(byte *data, size_t size)
void setLooping(bool loop)
Definition: midiparser.h:289
void startFadeOut(uint16 length)