Hey squeek - thanks for your help! I looked into SDL's event APIs and they
provide some custom event functions that are thread safe. I changed
everything in the callback to use those and that fixed my problem. Guess I
should be more aware of the threads going on in my app. Thanks again!
---
Pau
I’m guessing that you’re hooking up Synth::seq_callback via
fluid_sequencer_register_client or similar.
It seems like a bad idea to be attempting GUI operations from such a callback,
as GUI APIs generally expect to be driven by a single thread. A quick search
suggests that SDL’s convention is t