blob: fd9b749f628bd71602b5c229e8936f7a4311772a (
plain) (
tree)
|
|
#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 */
|