aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-04 03:01:13 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-09-05 23:39:23 +0300
commit4fd919c5493d7e5100ed0ed944048c6ef8b59f50 (patch)
tree7457876aff69ddea14598bf68ed38822020cd879 /midi.h
parent03ca9c8010702337a06c8b0ca9ca1e90c301d47e (diff)
downloadapplause2-4fd919c5493d7e5100ed0ed944048c6ef8b59f50.tar.gz
MIDI stuff has been moved into midi.lua
* common definitions are now in midi.h
Diffstat (limited to 'midi.h')
-rw-r--r--midi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/midi.h b/midi.h
new file mode 100644
index 0000000..092c18a
--- /dev/null
+++ b/midi.h
@@ -0,0 +1,6 @@
+/* This header is included from C and LuaJIT. */
+
+// FIXME: Perhaps a struct would be easier to handle?
+typedef uint32_t applause_midi_sample;
+
+applause_midi_sample applause_pull_midi_sample(void);