Hi, I’m in a situation where I need to find out what channels are shared between two AudioChannelSets, i.e. if one AudioChannelSet is LCR (left, right, center) and another is LRS (left, right, surround), then the intersection would produce stereo (left, right). I looked through the implementation of AudioChannelSet and since the layout is stored as a BigInteger mask it’s extremely easy to add via an and operation on the two BigIntegers. This would be the function:
I think you will need to have a little patience, according to what is being posted here in the forum, it seems that some relevant bugs appeared in ver. 4.2 and I believe most of the current attention of JUCE team is towards fixing those.
Once the dust has settled, I’m sure they’ll read and reply to this topic, too.
Indeed, there definitely seems to be a number of bugs with 4.2 and that is a priority. Just don’t want to see this get buried since AFAIK posting here is the only way to request changes/features.