So my project is coming along nicely now.
But I have another problem that I don’t really understand how to tackle.
I have various audio sources computing sound information and putting that information into their getNextAudioBlock() functions.
Then I combine them with a MixerAudioSource class.
Now I wish to continue processing on that combined source.
How would I do this? I can’t figure out the logic in my head.
I tried creating a custom class that inherits from MixerAudioSource - which has its own getNextAudioBlock function. Overriding it, with my mine, copying in the existing MixerAudioSource.getNextAudioBlock() code, then below doing my own DSP after, but it doesn’t know appear to have access to the info object of MixerAudioSource.
And I’m thinking that what I want to do is common enough, there must be a standard, elegant way?