juce_AudioProcessorPlayer - suggested small change


#1

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 :)

Thanks,

'Tick


#2

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?


#3

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.