I have a problem with the keyboard component.
using win xp 32 and the tip from some weeks ago.
also reproducable in the juce demo (everything release build)
no matter if asio or direct sound and with 2560 samples latency.
when i play audio (for example with the file playback screen in the demo) and minimize/restore the demo window and simultaneously show some notes via the MidiKeyboardComponent (doesn’t matter if from external keyboard or internally generated) the audio has a short dropout/stutter.
when i remove the call to
keyboardState.processNextMidiBuffer (incomingMidi, 0, bufferToFill.numSamples, true);
from the getNextAudioBlock() routine the resize happens without dropouts.
the dropouts happen even when the KeyboardComponent isn’t visible.
the CPU load stays very low (0-2%) while doing so.
I can do much higher CPU hungry operations in paint() routines going up to 40% CPU without dropouts.
So I’m rather clueless at the moment. must be something different…