summaryrefslogblamecommitdiffstats
path: root/src/midi.h
blob: fd9b749f628bd71602b5c229e8936f7a4311772a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                             
#ifndef MIDI_H
#define MIDI_H

#include <portmidi.h>
#include <porttime.h>

#include "synth_engine.h"

typedef struct midi_t {
  PortMidiStream * stream;
  synth_t * synth;
} midi_t;

void init_midi(midi_t *midi, synth_t *synth);
void terminate_midi(midi_t *midi);

#endif /* MIDI_H */