22 #ifndef AUDIO_MIDIPLAYER_H 23 #define AUDIO_MIDIPLAYER_H 25 #include "common/scummsys.h" 26 #include "common/mutex.h" 27 #include "audio/mididrv.h" 74 virtual void resume();
122 bool hasNativeMT32()
const {
return _nativeMT32; }
125 void send(uint32 b)
override;
126 void metaEvent(byte type, byte *data, uint16 length)
override;
145 virtual void onTimer();
147 static void timerCallback(
void *data);
149 void createDriver(
int flags = MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
int _masterVolume
Definition: midiplayer.h:187
Definition: midiplayer.h:63
MidiParser * _parser
Definition: midiplayer.h:168
bool isPlaying() const
Definition: midiplayer.h:94
void send(uint32 b) override
virtual void setVolume(int volume)
Definition: mididrv.h:309
virtual void endOfTrack()
int getVolume() const
Definition: midiplayer.h:99
Definition: mididrv.h:112
Definition: mididrv.h:537
Definition: midiplayer.h:156
byte * _midiData
Definition: midiplayer.h:176
virtual void sendToChannel(byte ch, uint32 b)
Definition: midiparser.h:289