Re: [fluid-dev] Thread safety

2009-05-29 Thread josh
Quoting j...@resonance.org: Yeah, I also came to that conclusion (one FIFO per thread). Adding the FIFOs wouldn't be that difficult. Just have a fixed size array (maximum number of threads), which is initialized with NULLs. A GPrivate (private data per thread) could be used to assign a FIFO t

Re: [fluid-dev] Thread safety

2009-05-29 Thread josh
Quoting David Henningsson : I think ideas like these are good. Having each voice be processed and then mixed, would only require one buffer (64 bytes) per voice and would not require much extra CPU. This could also facilitate moving to the multi-thread voice processing model. I guess you woul