From 35208c579c9e7d0078d786e61f4a323919e2dcdf Mon Sep 17 00:00:00 2001 From: grm Date: Sat, 22 Feb 2025 03:40:43 +0200 Subject: Small fixes --- src/midi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/midi.c') diff --git a/src/midi.c b/src/midi.c index 5a556e9..429e9df 100644 --- a/src/midi.c +++ b/src/midi.c @@ -2,6 +2,8 @@ #include "notes.h" #include "control.h" +#include +#include #include void midi_decode(uint32_t msg, synth_t * synth) { @@ -146,7 +148,7 @@ midiCallback(PtTimestamp timestamp, void *userData) { //printf("%d\n", buf.message); midi_decode(buf.message, m->synth); - + } void @@ -154,7 +156,7 @@ init_midi(midi_t *m, synth_t *synth) { m->stream = NULL; m->synth = synth; - + Pm_Initialize(); printf("midi devs: %d\n", Pm_CountDevices()); -- cgit v1.2.3