fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] parallel loading of soundfont samples


From: Tom M.
Subject: Re: [fluid-dev] parallel loading of soundfont samples
Date: Wed, 28 Oct 2020 20:10:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

An idea to parallelize loading would be to use openMP Tasks. I've made a
quick'n dirty implementation of that:

https://github.com/FluidSynth/fluidsynth/tree/parallelize-sf3-loading

Currently, there are two problems:

1. The samplecache is guarded by a mutex that prevents naïve
parallelization.
2. If we relax that mutex we get a strange race condition, resulting in
various failed sample decodings.


Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]