juce_AudioProcessorPlayer - suggested small change


Hey Jules,

I have a AudioProcessorPlayer and I want to handle the midi events sent by its processor. However these events are stored in the incomingMidi member, which is private. So at that point there is no way to access them, apart from duplicating the entire juce_AudioProcessorPlayer class.

My proposed change is, please make the incomingMidi member protected :)




Well, the idea is that if you want to process the midi that a processor outputs, then you'd write another processor that does whatever you need, and put it downstream of the other one. Why not just do that?


Yeah I guess I could do that, but unless I'm missing something, it is a lot more code, compared to inheriting from AudioProcessorPlayer and overriding audioDeviceIOCallback.