diff options
Diffstat (limited to 'simon')
-rw-r--r-- | simon/midi.cpp | 4 | ||||
-rw-r--r-- | simon/midi.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp index 134c03d688..e80021d6a9 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -185,9 +185,9 @@ void MidiPlayer::initialize() _midiDriver->property(MidiDriver::PROP_TIMEDIV, _songs[0].ppqn); - res = _midiDriver->open(MidiDriver::MO_STREAMING); + res = _midiDriver->open(); if (res != 0) - error("MidiPlayer::initializer, got %s", MidiDriver::get_error_name(res)); + error("MidiPlayer::initializer, got %s", MidiDriver::getErrorName(res)); if (_paused) _midiDriver->pause (true); diff --git a/simon/midi.h b/simon/midi.h index 3653a37316..9b3cfc7a6a 100644 --- a/simon/midi.h +++ b/simon/midi.h @@ -23,6 +23,7 @@ #define SIMON_MIDI_H class MidiDriver; +class MidiStreamer; class File; struct MidiEvent; @@ -67,7 +68,7 @@ private: byte *sysex_data; }; - MidiDriver *_midiDriver; + MidiStreamer *_midiDriver; uint _lastDelay; Song *_currentSong; Song _songs[8]; |