aboutsummaryrefslogtreecommitdiff
path: root/pd/src/s_midi_dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/s_midi_dummy.c')
-rw-r--r--pd/src/s_midi_dummy.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/pd/src/s_midi_dummy.c b/pd/src/s_midi_dummy.c
new file mode 100644
index 00000000..0ab463ef
--- /dev/null
+++ b/pd/src/s_midi_dummy.c
@@ -0,0 +1,34 @@
+/* Copyright (c) 1997-2003 Guenter Geiger, Miller Puckette, Larry Troxler,
+* Winfried Ritsch, Karl MacMillan, and others.
+* For information on usage and redistribution, and for a DISCLAIMER OF ALL
+* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
+
+ this file is a dummy for systems without any MIDI support
+
+*/
+
+void sys_do_open_midi(int nmidiin, int *midiinvec,
+ int nmidiout, int *midioutvec)
+{
+}
+
+void sys_close_midi( void)
+{
+}
+
+void sys_putmidimess(int portno, int a, int b, int c)
+{
+}
+
+void sys_putmidibyte(int portno, int byte)
+{
+}
+
+void sys_poll_midi(void)
+{
+}
+
+void midi_getdevs(char *indevlist, int *nindevs,
+ char *outdevlist, int *noutdevs, int maxndev, int devdescsize)
+{
+}