24 #ifndef AGI_SOUND_MIDI_H 25 #define AGI_SOUND_MIDI_H 27 #include "agi/sound.h" 29 #include "audio/midiplayer.h" 35 MIDISound(uint8 *data, uint32 len,
int resnum);
37 uint16 type()
override {
return _type; }
49 void play(
int resnum)
override;
52 void stop()
override { Audio::MidiPlayer::stop(); }
55 void send(uint32 b)
override;
58 void sendToChannel(byte channel, uint32 b)
override;
59 void endOfTrack()
override;
Definition: sound_midi.h:33
Definition: midiplayer.h:63
uint32 _len
Length of the raw sound resource.
Definition: sound_midi.h:39
Definition: sound_midi.h:45
uint16 _type
Sound resource type.
Definition: sound_midi.h:42
uint8 * _data
Raw sound resource data.
Definition: sound_midi.h:38