From 27a2631069c907ae85d57e70a98a3b5c2ef6659b Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Sun, 13 Mar 2022 17:16:28 -0400 Subject: [PATCH] correct function calls in openal.c --- src/sound/openal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/openal.c b/src/sound/openal.c index a570e070d..5b1128cb6 100644 --- a/src/sound/openal.c +++ b/src/sound/openal.c @@ -124,7 +124,7 @@ inital(void) alutInit(0, 0); atexit(closeal); - mdn = midi_device_get_internal_name(midi_device_current); + mdn = midi_out_device_get_internal_name(midi_output_device_current); if (strcmp(mdn, "none") && strcmp(mdn, SYSTEM_MIDI_INTERNAL_NAME)) init_midi = 1; /* If the device is neither none, nor system MIDI, initialize the MIDI buffer and source, otherwise, do not. */