This moves SoundFont processing to a common engine module which is connected to 
all sound font osc modules. This ensures that the data is ready when the 
modules are called, and `process_fluid_L` is only called once in the common 
module. The global soundfont lock problem should be solved by this PR.

Note that the `sound_font_osc_process` function still acquires the lock for a 
brief amount of time, but no audio generation takes place while the lock is 
held.
You can view, comment on, or merge this pull request online at:

  https://github.com/tim-janik/beast/pull/85

-- Commit Summary --

  * BSE: SF2: use shared engine module instead of global soundfont lock

-- File Changes --

    M bse/bsesoundfontosc.cc (108)
    M bse/bsesoundfontosc.hh (6)
    M bse/bsesoundfontrepo.hh (1)

-- Patch Links --

https://github.com/tim-janik/beast/pull/85.patch
https://github.com/tim-janik/beast/pull/85.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tim-janik/beast/pull/85
_______________________________________________
beast mailing list
beast@gnome.org
https://mail.gnome.org/mailman/listinfo/beast

Reply via email to