From: John Melton G0ORX <john.d.melton@googlemail.com>
Date: Fri, 26 Feb 2021 08:10:22 +0000 (+0000)
Subject: Added missing alsa_midi.h
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/components/statistics?a=commitdiff_plain;h=38fb8d0a608465affb72f0e3e98654cf69fc4e42;p=pihpsdr.git

Added missing alsa_midi.h
---

diff --git a/alsa_midi.h b/alsa_midi.h
new file mode 100644
index 0000000..02acc84
--- /dev/null
+++ b/alsa_midi.h
@@ -0,0 +1,12 @@
+typedef struct _midi_device {
+  char *name;
+  char *port;
+} MIDI_DEVICE;
+
+#define MAX_MIDI_DEVICES 10
+
+extern MIDI_DEVICE midi_devices[MAX_MIDI_DEVICES];
+extern int n_midi_devices;
+
+extern void get_midi_devices();
+extern int register_midi_device(char *myname);