diff options
Diffstat (limited to 'src/synth_engine.h')
-rw-r--r-- | src/synth_engine.h | 7 |
1 files changed, 6 insertions, 1 deletions
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; |