I’m working on an audio app for my university project. It’s an AudioAppComponent, so not a plugin.
I want to mix an array of AudioTransportSource objects into a MixerAudioSource and then play the final result, but I can’t seem to do it.
I thought it would be as simple as doing something like this (rough pseudocode)…
OwnedArray transportArray;
MixerAudioSource mixer;
load files into AudioTransportSource
iterate through array and do mixer.addInputSource(i)
then in the getNextAudioBlock function call mixer.getNextAudioBlock(bufferToFill)
but I don’t seem to be getting any result. Any help? Thanks