mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Software synthesizer based on the SoundFont 2 specifications
50c88d392a
Removed unnecessary test of snd_pcm_state and call to snd_pcm_drop. Removed SETCC macro in fluid_chan.c and replaced with fluid_channel_set_cc() which uses atomic op. Removed invalid fluid_channel_set_cc() and fluid_channel_get_cc() function declarations (they were replaced with macros). Added shadow_polyphony field to fluid_synth_t which is accessed via atomic ops by all threads, polyphony field is now only set by synthesis thread. fluid_synth_cc() now sets cc channel field atomically and queues an update as needed. synth_thread_id field assigned every call to fluid_synth_one_block(). fluid_synth_alloc_voice() now atomically accesses gain. Fixed bug in fluid_timer_join() where timer->thread was set to NULL even if auto_destroy was enabled, but was at that point no longer in existence. |
||
---|---|---|
fluidsynth |