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:
parent
af6198b74f
commit
7056128bbc
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue