mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
init static atomics in a more general way
This commit is contained in:
parent
c7b9bae1e3
commit
479b31c9fe
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ static void fluid_synth_stop_LOCAL (fluid_synth_t *synth, unsigned int id);
|
|||
*/
|
||||
|
||||
/* has the synth module been initialized? */
|
||||
static fluid_atomic_int_t fluid_synth_initialized = 0;
|
||||
/* fluid_atomic_int_t may be anything, so init with {0} to catch most cases */
|
||||
static fluid_atomic_int_t fluid_synth_initialized = {0};
|
||||
static void fluid_synth_init(void);
|
||||
static void init_dither(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue