From 7e238c543840401a5c1d41e88e3243c115cd8f2d Mon Sep 17 00:00:00 2001 From: carlo-bramini Date: Sat, 21 Oct 2017 18:26:55 +0200 Subject: [PATCH] Replace g_atomic_*() with fluid_atomic_*() --- src/midi/fluid_seq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/midi/fluid_seq.c b/src/midi/fluid_seq.c index 62cd8ade..0d6d0f95 100644 --- a/src/midi/fluid_seq.c +++ b/src/midi/fluid_seq.c @@ -500,7 +500,7 @@ fluid_sequencer_remove_events (fluid_sequencer_t* seq, short source, unsigned int fluid_sequencer_get_tick (fluid_sequencer_t* seq) { - unsigned int absMs = seq->useSystemTimer ? (int) fluid_curtime() : g_atomic_int_get(&seq->currentMs); + unsigned int absMs = seq->useSystemTimer ? (int) fluid_curtime() : fluid_atomic_int_get(&seq->currentMs); double nowFloat; unsigned int now; nowFloat = ((double)(absMs - seq->startMs))*seq->scale/1000.0f; @@ -846,7 +846,7 @@ fluid_sequencer_process(fluid_sequencer_t* seq, unsigned int msec) } /* send queued events */ - g_atomic_int_set(&seq->currentMs, msec); + fluid_atomic_int_set(&seq->currentMs, msec); _fluid_seq_queue_send_queued_events(seq); }