I’ve ported a VST plugin from Windows to an AU plugin on OS X and I’m having trouble with the UI. Sometimes the UI is repainted constantly even when I don’t touch it. This leads to more than 90% of CPU usage with a single loaded plugin that just sits there. Furthermore the UI becomes hard to use. ComboBoxes in particular won’t work reliably. They open instantly but don’t close right away when one of the items is clicked.
Our UI doesn’t have any component that needs constant updates, so when the user isn’t doing anything no re-paints should be necessary.
I don’t know if this is caused by my code, JUCE or Reaper. I’ve run Reaper in “Instruments” and will attach a screenshot. Does anyone have an idea what might be going on here?