From c6a2b0cebaae58f7cef5a20d20bb4ee504762888 Mon Sep 17 00:00:00 2001 From: carlo-bramini <30959007+carlo-bramini@users.noreply.github.com> Date: Sun, 24 Dec 2017 14:46:39 +0100 Subject: [PATCH] Use FLUID_MUTEX_INIT instead of G_STATIC_MUTEX_INIT --- src/drivers/fluid_jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/fluid_jack.c b/src/drivers/fluid_jack.c index 0a23606e..43f6203b 100644 --- a/src/drivers/fluid_jack.c +++ b/src/drivers/fluid_jack.c @@ -98,7 +98,7 @@ int fluid_jack_driver_process(jack_nframes_t nframes, void *arg); void delete_fluid_jack_midi_driver(fluid_midi_driver_t *p); -static fluid_mutex_t last_client_mutex = G_STATIC_MUTEX_INIT; /* Probably not necessary, but just in case drivers are created by multiple threads */ +static fluid_mutex_t last_client_mutex = FLUID_MUTEX_INIT; /* Probably not necessary, but just in case drivers are created by multiple threads */ static fluid_jack_client_t *last_client = NULL; /* Last unpaired client. For audio/MIDI driver pairing. */