summaryrefslogtreecommitdiff
path: root/src/midi/custom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/midi/custom.h')
-rw-r--r--src/midi/custom.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/midi/custom.h b/src/midi/custom.h
new file mode 100644
index 0000000..8a2fb14
--- /dev/null
+++ b/src/midi/custom.h
@@ -0,0 +1,20 @@
+typedef struct _fluid_midi_event_t fluid_midi_event_t;
+typedef struct _fluid_player_t fluid_player_t;
+typedef struct _fluid_synth_t fluid_synth_t;
+typedef struct _fluid_timer_t fluid_timer_t;
+typedef struct _fluid_sample_timer_t fluid_sample_timer_t;
+typedef struct _fluid_settings_t fluid_settings_t;
+
+
+#define FLUID_DBG 0
+#define FLUID_OK 1
+#define FLUID_ERR 0
+#define FLUID_FAILED 2
+#define FLUID_PANIC 3
+#define FLUID_PLAYER_DONE 2
+#define FLUID_PLAYER_PLAYING 1
+#define FLUID_PLAYER_READY 3
+#define FLUID_HINT_TOGGLED 0x01
+#define TRUE 1
+#define FALSE 0
+typedef int (*handle_midi_event_func_t)(void* data, fluid_midi_event_t* event);