"ready" is unused if ENABLE_MIXER_THREADS=0

This commit is contained in:
carlo-bramini 2018-11-09 00:58:39 +01:00 committed by derselbst
parent 06bcf8db9f
commit 0bf5c28275
1 changed files with 1 additions and 2 deletions

View File

@ -41,13 +41,12 @@ struct _fluid_mixer_buffers_t
fluid_rvoice_mixer_t *mixer; /**< Owner of object */
#if ENABLE_MIXER_THREADS
fluid_thread_t *thread; /**< Thread object */
fluid_atomic_int_t ready; /**< Atomic: buffers are ready for mixing */
#endif
fluid_rvoice_t **finished_voices; /* List of voices who have finished */
int finished_voice_count;
fluid_atomic_int_t ready; /**< Atomic: buffers are ready for mixing */
fluid_real_t *local_buf;
int buf_count;