diff options
Diffstat (limited to 'sound/mididrv.cpp')
-rw-r--r-- | sound/mididrv.cpp | 56 |
1 files changed, 49 insertions, 7 deletions
diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 7a881e7cb1..b8d365be29 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -30,11 +30,9 @@ #include <devices/timer.h> #endif - #include "stdafx.h" #include "scumm.h" -#include "gmidi.h" - +#include "mididrv.h" #ifdef WIN32 @@ -326,9 +324,6 @@ const char *MidiDriver::get_error_name(int error_code) { #if 0 - - - void MidiDriver::midiInit() { if (MidiInitialized != true) { @@ -686,4 +681,51 @@ void MidiDriver::midiInitNull() warning ("Music not enabled - MIDI support selected with no MIDI driver available. Try Adlib"); } -#endif
\ No newline at end of file + + + +/* old header stuff.. */ +/* General Midi header file */ +#define SEQ_MIDIPUTC 5 +#define SPECIAL_CHANNEL 9 +#define DEVICE_NUM 0 + + + +#ifdef __APPLE__CW + #include <QuickTimeComponents.h> + #include "QuickTimeMusic.h" + + NoteAllocator qtNoteAllocator; + NoteChannel qtNoteChannel[16]; + NoteRequest simpleNoteRequest; +#endif + +#ifdef WIN32 + #include <winsock.h> +#elif defined(UNIX) + #include <sys/time.h> + #include <unistd.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> + #include <netdb.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +#endif + +#ifdef __MORPHOS__ + #include <exec/types.h> + #include <devices/amidi.h> + + #define NO_PPCINLINE_STDARG + #define NO_PPCINLINE_VARARGS + #include <clib/alib_protos.h> + #include <proto/exec.h> + #undef CMD_INVALID + + extern struct IOMidiRequest *ScummMidiRequest; +#endif + +#endif /* 0 */
\ No newline at end of file |