blob: 004e82465de6a887838770d1e6982a69c0037e99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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);
int get_midi_device_id(const char * name);
char * get_midi_devices();
#endif /* MIDI_H */
|