Use FLUID_MUTEX_INIT instead of G_STATIC_MUTEX_INIT

This commit is contained in:
carlo-bramini 2017-12-24 14:46:39 +01:00 committed by GitHub
parent 74122f2d6d
commit c6a2b0ceba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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. */