mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 23:11:41 +00:00
cleanup
This commit is contained in:
parent
6b847829ef
commit
78f06d1be2
1 changed files with 3 additions and 7 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue