Using multiple Devices with JUCE

Hi there, i am currently trying to build a software based audio mixer for my Raspberry PI

I have got two simmilar Two channel audio interfaces. I was going to ask if there is some way to use JUCE to either control them both at the same time or route the two channels of the second interface into the first device somehow. Example:


I’m not sure if it would be more efficient trying to get my operating system to do that job, simmilar to OSX Aggregate Devices.

Can anyone here show me some ways in approach this situation?

Best to do it at the OS level. Juce itself doesn’t directly support doing that.