I'm wondering what is the best way to update UI components:
I used a changeBroadcaster to update a label (showing some transport infos) with a sendChangeMessage to the associated component inside the processBolck method. It works well in my main computer (a quite powerfull i7) but i tried with a slower laptop and I had trouble with short latencies (audio crackle).
then I tried to call the sendChangeMessage only once each X processBlock (about 25 times a second), or to replace it with a timer callback... And in both case it worked better, but not perfectly when i run it with a very short latency.
And subsidiary question, what about opacity and performance : Does it changes anything to set it as opaque if there is nothing behind the component?
As a summary, what are the best practices to manage UI updates?