fixed to compile on unix

svn-id: r3512
This commit is contained in:
Ludvig Strigeus 2001-12-01 17:25:36 +00:00
parent 8fa0bb4b29
commit ffdc4102d2
2 changed files with 6 additions and 3 deletions

View File

@ -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;

View File

@ -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) {