JUCE
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
PluginBusUtilities Class Reference

Classes

class  ScopedBusRestorer
 
struct  SupportedBusLayouts
 

Public Types

typedef Array< AudioProcessor::AudioProcessorBusAudioBusArray
 

Public Member Functions

 PluginBusUtilities (AudioProcessor &plugin, bool markDiscreteLayoutsAsSupported)
 
AudioBusArraygetFilterBus (bool inputBus) noexcept
 
const AudioBusArraygetFilterBus (bool inputBus) const noexcept
 
int getBusCount (bool inputBus) const noexcept
 
AudioChannelSet getChannelSet (bool inputBus, int bus) noexcept
 
int getNumChannels (bool inp, int bus) const noexcept
 
bool isBusEnabled (bool inputBus, int bus) const noexcept
 
bool hasInputs (int bus) const noexcept
 
bool hasOutputs (int bus) const noexcept
 
int getNumEnabledBuses (bool inputBus) const noexcept
 
int findTotalNumChannels (bool isInput) const noexcept
 
void restoreBusArrangement (const AudioProcessor::AudioBusArrangement &original) const
 
Array< SupportedBusLayouts > & getSupportedLayouts (bool isInput) noexcept
 
const Array< SupportedBusLayouts > & getSupportedLayouts (bool isInput) const noexcept
 
SupportedBusLayoutsgetSupportedBusLayouts (bool isInput, int busNr) noexcept
 
const SupportedBusLayoutsgetSupportedBusLayouts (bool isInput, int busNr) const noexcept
 
bool busIgnoresLayout (bool inp, int bus) const noexcept
 
const AudioChannelSetgetDefaultLayoutForBus (bool isInput, int busIdx) const noexcept
 
bool hasDynamicInBuses () const noexcept
 
bool hasDynamicOutBuses () const noexcept
 
void clear (int inputCount, int outputCount)
 
AudioChannelSet getDefaultLayoutForChannelNumAndBus (bool isInput, int busIdx, int channelNum) const noexcept
 
void findAllCompatibleLayouts ()
 
void enableAllBuses ()
 

Public Attributes

AudioProcessorjuceFilter
 

Member Typedef Documentation

Constructor & Destructor Documentation

PluginBusUtilities::PluginBusUtilities ( AudioProcessor plugin,
bool  markDiscreteLayoutsAsSupported 
)

Member Function Documentation

AudioBusArray& PluginBusUtilities::getFilterBus ( bool  inputBus)
noexcept
const AudioBusArray& PluginBusUtilities::getFilterBus ( bool  inputBus) const
noexcept
int PluginBusUtilities::getBusCount ( bool  inputBus) const
noexcept
AudioChannelSet PluginBusUtilities::getChannelSet ( bool  inputBus,
int  bus 
)
noexcept
int PluginBusUtilities::getNumChannels ( bool  inp,
int  bus 
) const
noexcept
bool PluginBusUtilities::isBusEnabled ( bool  inputBus,
int  bus 
) const
noexcept
bool PluginBusUtilities::hasInputs ( int  bus) const
noexcept

References isBusEnabled().

bool PluginBusUtilities::hasOutputs ( int  bus) const
noexcept

References isBusEnabled().

int PluginBusUtilities::getNumEnabledBuses ( bool  inputBus) const
noexcept

References getBusCount(), and isBusEnabled().

int PluginBusUtilities::findTotalNumChannels ( bool  isInput) const
noexcept
void PluginBusUtilities::restoreBusArrangement ( const AudioProcessor::AudioBusArrangement original) const
Array<SupportedBusLayouts>& PluginBusUtilities::getSupportedLayouts ( bool  isInput)
noexcept
const Array<SupportedBusLayouts>& PluginBusUtilities::getSupportedLayouts ( bool  isInput) const
noexcept
SupportedBusLayouts& PluginBusUtilities::getSupportedBusLayouts ( bool  isInput,
int  busNr 
)
noexcept
const SupportedBusLayouts& PluginBusUtilities::getSupportedBusLayouts ( bool  isInput,
int  busNr 
) const
noexcept

References getSupportedLayouts().

bool PluginBusUtilities::busIgnoresLayout ( bool  inp,
int  bus 
) const
noexcept
const AudioChannelSet& PluginBusUtilities::getDefaultLayoutForBus ( bool  isInput,
int  busIdx 
) const
noexcept
bool PluginBusUtilities::hasDynamicInBuses ( ) const
noexcept
bool PluginBusUtilities::hasDynamicOutBuses ( ) const
noexcept
void PluginBusUtilities::clear ( int  inputCount,
int  outputCount 
)
AudioChannelSet PluginBusUtilities::getDefaultLayoutForChannelNumAndBus ( bool  isInput,
int  busIdx,
int  channelNum 
) const
noexcept
void PluginBusUtilities::findAllCompatibleLayouts ( )
void PluginBusUtilities::enableAllBuses ( )

Member Data Documentation

AudioProcessor& PluginBusUtilities::juceFilter

The documentation for this class was generated from the following file: