diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-09 03:07:01 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-09 03:08:46 +0200 |
commit | 7872e4033f236356f0b5a10d0a4eb889adca52d2 (patch) | |
tree | 4dfdca42959c925faa3f97d7544125a22b5c125a /headless | |
parent | b43fd4ad0e3b45dd44e0d5d28c6b696cfd16583e (diff) |
LV2/midnam tweaks - fix race conditions
* Emit signal once midnam was actually updated
* only re-read midnam if was it changed. This allows idempotent calls to
read_midnam() - from the same thread.
At session-load a synth-plugin may load a soundfont in the background
and emit midnam_update() after the synth was initialized but before the
GUI thread connects to the signal. By making the call idempotent the
GUI can call read_midnam() after connecting to the signal to catch up.
Diffstat (limited to 'headless')
0 files changed, 0 insertions, 0 deletions