How can I connect two SoundSubmixes in C++?

I want to pass the output of the first to the input of the second, like this: