Re: [fluid-dev] Thread safety

2009-06-06 Thread josh
Quoting David Henningsson : j...@resonance.org skrev: This could be handled by identifying which "thread" is the synthesis thread (first call to fluid_synth_one_block). Any function which might need to synchronize in the multi-thread case, could check if the calling thread is the synthesis thre

Re: [fluid-dev] Thread safety

2009-06-06 Thread josh
Quoting jimmy : Here's my my comments on special effects processing (SFX, for short here) in sound synthesis. But since Midi allow for some live manipulation of some paramenters, it may allow for per channel manipulation, too? I guess one way to describe it is how many "SFX processors

Re: [fluid-dev] Thread safety

2009-06-06 Thread David Henningsson
j...@resonance.org skrev: > This could be handled by identifying which "thread" is the synthesis > thread (first call to fluid_synth_one_block). Any function which might > need to synchronize in the multi-thread case, could check if the calling > thread is the synthesis thread or not and process t

Re: [fluid-dev] Thread safety

2009-06-06 Thread jimmy
> Date: Thu, 04 Jun 2009 20:10:10 -0400 > From: j...@resonance.org > > Yes.  The main "synthesis" thread, would be the audio > thread, since it  > ultimately calls fluid_synth_one_block().  The MIDI > thread could be  > separate, but it could also be just a callback, as long as > it is  > guar