diff options
Diffstat (limited to 'engines/agi/sound_midi.h')
-rw-r--r-- | engines/agi/sound_midi.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/engines/agi/sound_midi.h b/engines/agi/sound_midi.h index 9551673a4e..5733358fee 100644 --- a/engines/agi/sound_midi.h +++ b/engines/agi/sound_midi.h @@ -28,6 +28,8 @@ #ifndef AGI_SOUND_MIDI_H #define AGI_SOUND_MIDI_H +#include "agi/sound.h" + #include "audio/midiplayer.h" namespace Agi { @@ -47,13 +49,12 @@ protected: class SoundGenMIDI : public SoundGen, public Audio::MidiPlayer { public: SoundGenMIDI(AgiEngine *vm, Audio::Mixer *pMixer); - ~SoundGenMIDI(); void play(int resnum); + // We must overload stop() here to implement the pure virtual + // stop() method of the SoundGen class. void stop() { Audio::MidiPlayer::stop(); } - void setGM(bool isGM) { _isGM = isGM; } - // MidiDriver_BASE interface implementation virtual void send(uint32 b); @@ -62,14 +63,8 @@ public: virtual void endOfTrack(); private: - - static void onTimer(void *data); - - MidiParser *_smfParser; bool _isGM; - byte *_midiMusicData; - SoundMgr *_manager; }; |