Working on a plug-in and I’m adding basic meters (Sample peak and RMS) to the GUI. I’ve perused the other forum topics I could find but am still having an issue of increased memory usage over time / memory leak.
What I’m doing is using non-enabled sliders as meters, polling data from a timer.
- The peak and rms levels are set in the process block.
- I use MyProcessor& getProcessor().getPeak() to set the slider’s value
It’s pretty straight forward and seems similar to what other people are using. Any initial thoughts as to what I’m doing wrong? Given that it’s been plaguing me for a full day now I’m sure it’s something simple