summaryrefslogtreecommitdiffstats
path: root/src/synth_engine_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth_engine_v2.c')
-rw-r--r--src/synth_engine_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth_engine_v2.c b/src/synth_engine_v2.c
index d4b7509..4d9721c 100644
--- a/src/synth_engine_v2.c
+++ b/src/synth_engine_v2.c
@@ -569,8 +569,8 @@ init_synth(void)
strcpy(synth->soundcard.name, "default");
init_sound(synth, sound_gen, synth->soundcard.name);
+ strcpy(synth->midi_device.name, "Midi Through Port-0");
synth->midi = (midi_t *)malloc(sizeof(midi_t));
- synth->midi_device_id = get_midi_device_id("Midi Through Port-0");
init_midi(synth->midi, synth);
synth->gui.screen = SCREEN_MAIN;