Helper method to generate a default RouteMap for a generic track configuration.
If the inputCount is equal or less than the outputCount a one to one mapping is performed
i.e left to left, right to right and so on.
If the inputCount is greater than the outputCount we merge all channels to a stereo output.
i.e left to left, right to right, center to left and right, and so on.
Helper method to generate a default RouteMap for a generic track configuration.
If the inputCount is equal or less than the outputCount a one to one mapping is performed i.e left to left, right to right and so on. If the inputCount is greater than the outputCount we merge all channels to a stereo output. i.e left to left, right to right, center to left and right, and so on.
Example: inputCount = 6 outputCount = 2 result = [[1, 0], [0, 1], [1, 1], [1, 1], [1, 0], [0, 1]]