1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Add intersect method to AudioChannelSet

This commit is contained in:
hogliux 2016-05-05 11:55:06 +01:00
parent af6198b74f
commit 7056128bbc

View file

@ -195,6 +195,9 @@ public:
/** Returns if this is a channel layout made-up of discrete channels. */
bool isDiscreteLayout() const noexcept;
/** Intersect two channel layouts. */
void intersect (const AudioChannelSet& other) { channels &= other.channels; }
//==============================================================================
bool operator== (const AudioChannelSet&) const noexcept;
bool operator!= (const AudioChannelSet&) const noexcept;