aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/s_midi_none.c
blob: 9d83545e11012c098928825128328e3bedba76a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* This is for compiling pd without any midi support. by matju, 2006.11.21 */

#include "m_pd.h"
#include "s_stuff.h"

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)
{
    *nindevs = 0;
    *noutdevs = 0;
}