"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

View file

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