Software synthesizer based on the SoundFont 2 specifications
Find a file
Josh Green 50c88d392a Moved snd_pcm_nonblock call into new_fluid_alsa_audio_driver2() and out of audio run functions.
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.
2009-11-15 02:34:24 +00:00
fluidsynth Moved snd_pcm_nonblock call into new_fluid_alsa_audio_driver2() and out of audio run functions. 2009-11-15 02:34:24 +00:00