I just finished to reprogram my live software using juce
the synthesis part uses about 2 to 10% cpu
each time i maximize / minimize a windows the cpu jump to 50% and more, leading to severe audio glitch,
of course not really acceptable in a live performance XD
it seems something related to gui rendering is eating much of the cpu
any of you guys had that problem, and eventually got a fast workaround ?
more details :
i have a decent computer, should not be the problem (q9550 ,ssd , 4 g ram win7 6x64)
the problem doesn’t show with other softwares (tried different daw, fruityloops with a lot of synth on the screen, etc)
my gui has quite a lot of components ->8 tracks, each one has a 32 steps sequencer and 6 rotary sliders, 4 horizontal sliders, and 2 switch buttons
the problem appears in debug or release builds, no difference
the problem is 100% reproducible, each time i maximize/minimize a windows, i get the problem (even if the windows is not on the same screen as the software)
my guess here is windows send a message forcing a full gui redraw but i could be plain wrong, since i don’t really have time to read the gui code atm,
i’m asking for direction, where should i search in your opinion ?