From 9847614871e861c216425b95a8300dba37b0f6e6 Mon Sep 17 00:00:00 2001 From: grm Date: Sun, 2 Mar 2025 13:53:54 +0200 Subject: Also improve midi and add tt for templating --- src/synth_engine.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/synth_engine.h') diff --git a/src/synth_engine.h b/src/synth_engine.h index 21e427c..f771073 100644 --- a/src/synth_engine.h +++ b/src/synth_engine.h @@ -22,6 +22,11 @@ typedef struct soundcard_t { int id; } soundcard_t; +typedef struct midi_device_t { + char name[2048]; + int id; +} midi_device_t; + typedef struct lfo_t { float freq; float amp; @@ -136,7 +141,7 @@ typedef struct { int sound_active; soundcard_t soundcard; - int midi_device_id; + midi_device_t midi_device; synth_viz viz; -- cgit v1.2.3