This commit is contained in:
derselbst 2017-08-27 12:51:36 +02:00
parent 6b847829ef
commit 78f06d1be2

View file

@ -105,15 +105,11 @@ static FLUID_INLINE void
fluid_rvoice_eventhandler_add_rvoice(fluid_rvoice_eventhandler_t* handler, fluid_rvoice_eventhandler_add_rvoice(fluid_rvoice_eventhandler_t* handler,
fluid_rvoice_t* rvoice) fluid_rvoice_t* rvoice)
{ {
/* always queue events. without it we may run into timing issues, when events are being dispatched if (handler->is_threadsafe)
* via the sampletimers, without actually rendering it.
*/
// if (handler->is_threadsafe)
fluid_rvoice_eventhandler_push_ptr(handler, fluid_rvoice_mixer_add_voice, fluid_rvoice_eventhandler_push_ptr(handler, fluid_rvoice_mixer_add_voice,
handler->mixer, rvoice); handler->mixer, rvoice);
// else else
// fluid_rvoice_mixer_add_voice(handler->mixer, rvoice); fluid_rvoice_mixer_add_voice(handler->mixer, rvoice);
} }