diff options
-rw-r--r-- | sound.h | 5 | ||||
-rw-r--r-- | sound/gmidi.cpp | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -17,6 +17,9 @@ * * Change Log: * $Log$ + * Revision 1.3 2001/12/01 17:25:36 strigeus + * fixed to compile on unix + * * Revision 1.2 2001/12/01 17:06:13 strigeus * adlib sound support, use USE_ADLIB * @@ -393,7 +396,7 @@ public: }; struct MidiSoundDriver : SoundDriver { - HMIDIOUT *_mo; + void *_mo; bool _mt32emulate; SoundEngine *_se; diff --git a/sound/gmidi.cpp b/sound/gmidi.cpp index f76a00d708..ec80050110 100644 --- a/sound/gmidi.cpp +++ b/sound/gmidi.cpp @@ -82,7 +82,7 @@ static int connect_to_timidity(int port) return s; } -void SoundEngine::midiInit() { +void MidiSoundDriver::midiInit() { int s, s2; int len; int dummy, newport; @@ -158,7 +158,7 @@ static inline void MIDI_OUT(void *a, int b) { #else #define MIDI_OUT(a,b) -void SoundEngine::midiInit() { } +void MidiSoundDriver::midiInit() { } #endif void MidiSoundDriver::midiPitchBend(byte chan, int16 pitchbend) { |