From 99caa5c3543124e8d52f686d5906cd01b50c814a Mon Sep 17 00:00:00 2001 From: brummer10 Date: Fri, 4 Oct 2024 19:26:45 +0200 Subject: [PATCH] Fix modaudio(macos-10.15,macos-12) --- patches/fluidsynth/02_skip_dsound_support.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/fluidsynth/02_skip_dsound_support.patch b/patches/fluidsynth/02_skip_dsound_support.patch index d50ab25..fe07c8d 100644 --- a/patches/fluidsynth/02_skip_dsound_support.patch +++ b/patches/fluidsynth/02_skip_dsound_support.patch @@ -50,3 +50,16 @@ fluid_settings_add_option(settings, "audio.driver", "dsound"); #endif #if SNDMAN_SUPPORT + + +--- fluidsynth-static-1.1.11.orig/src/drivers/fluid_aufile.c ++++ fluidsynth-static-1.1.11/src/drivers/fluid_aufile.c +@@ -98,7 +98,7 @@ new_fluid_file_audio_driver(fluid_settings_t *settings, + return (fluid_audio_driver_t *) dev; + + error_recovery: +- delete_fluid_file_audio_driver((fluid_audio_driver_t *) dev); ++ delete_fluid_file_audio_driver(fluid_audio_driver_t *); + return NULL; + } +