Represents a set of input and output buses for an AudioProcessor. More...
#include <juce_AudioProcessor.h>
Public Member Functions | |
template<typename FloatType > | |
AudioBuffer< FloatType > | getBusBuffer (AudioBuffer< FloatType > &processBlockBuffer, bool isInput, int busIndex) const |
Returns an AudioBuffer containing a set of channel pointers for a specific bus. More... | |
int | getChannelIndexInProcessBlockBuffer (bool isInput, int busIndex, int channelIndex) const noexcept |
Returns the position of a bus's channels within the processBlock buffer. More... | |
int | getTotalNumInputChannels () const noexcept |
Returns the total number of channels in all the input buses. More... | |
int | getTotalNumOutputChannels () const noexcept |
Returns the total number of channels in all the output buses. More... | |
Public Attributes | |
Array< AudioProcessorBus > | inputBuses |
An array containing the list of input buses that this processor supports. More... | |
Array< AudioProcessorBus > | outputBuses |
An array containing the list of output buses that this processor supports. More... | |
Represents a set of input and output buses for an AudioProcessor.
|
inline |
Returns an AudioBuffer containing a set of channel pointers for a specific bus.
This can be called in processBlock to get a buffer containing a sub-group of the master AudioSampleBuffer which contains all the plugin channels.
References AudioBuffer< Type >::getArrayOfWritePointers(), and AudioBuffer< Type >::getNumSamples().
|
noexcept |
Returns the position of a bus's channels within the processBlock buffer.
This can be called in processBlock to figure out which channel of the master AudioSampleBuffer maps onto a specific bus's channel.
|
noexcept |
Returns the total number of channels in all the input buses.
Referenced by AudioProcessor::getTotalNumInputChannels().
|
noexcept |
Returns the total number of channels in all the output buses.
Referenced by AudioProcessor::getTotalNumOutputChannels().
Array<AudioProcessorBus> AudioProcessor::AudioBusArrangement::inputBuses |
An array containing the list of input buses that this processor supports.
Referenced by PluginBusUtilities::checkBusFormatsAreNotDiscrete(), StandalonePluginHolder::createPlugin(), AudioUnitHelpers::getAUChannelInfo(), PluginBusUtilities::getFilterBus(), and PluginBusUtilities::restoreBusArrangement().
Array<AudioProcessorBus> AudioProcessor::AudioBusArrangement::outputBuses |
An array containing the list of output buses that this processor supports.
Referenced by PluginBusUtilities::checkBusFormatsAreNotDiscrete(), StandalonePluginHolder::createPlugin(), AudioUnitHelpers::getAUChannelInfo(), PluginBusUtilities::getFilterBus(), and PluginBusUtilities::restoreBusArrangement().