JUCE  v5.1.1-3-g1a0b28c73
JUCE API
VST3BufferExchange< FloatType > Struct Template Reference

#include <juce_VST3Common.h>

Inheritance diagram for VST3BufferExchange< FloatType >:

Public Types

typedef Array< FloatType * > Bus
 
typedef Array< BusBusMap
 

Static Public Member Functions

static void assignRawPointer (Steinberg::Vst::AudioBusBuffers &vstBuffers, float **raw)
 
static void assignRawPointer (Steinberg::Vst::AudioBusBuffers &vstBuffers, double **raw)
 
static void associateBufferTo (Steinberg::Vst::AudioBusBuffers &vstBuffers, Bus &bus, AudioBuffer< FloatType > &buffer, int numChannels, int channelStartOffset, int sampleOffset=0)
 Assigns a series of AudioSampleBuffer's channels to an AudioBusBuffers'. More...
 
static void mapArrangementToBuses (int &channelIndexOffset, int index, Array< Steinberg::Vst::AudioBusBuffers > &result, BusMap &busMapToUse, const AudioChannelSet &arrangement, AudioBuffer< FloatType > &source)
 
static void mapBufferToBuses (Array< Steinberg::Vst::AudioBusBuffers > &result, BusMap &busMapToUse, const Array< AudioChannelSet > &arrangements, AudioBuffer< FloatType > &source)
 
static void mapBufferToBuses (Array< Steinberg::Vst::AudioBusBuffers > &result, Steinberg::Vst::IAudioProcessor &processor, BusMap &busMapToUse, bool isInput, int numBuses, AudioBuffer< FloatType > &source)
 

Member Typedef Documentation

◆ Bus

template<typename FloatType>
typedef Array<FloatType*> VST3BufferExchange< FloatType >::Bus

◆ BusMap

template<typename FloatType>
typedef Array<Bus> VST3BufferExchange< FloatType >::BusMap

Member Function Documentation

◆ assignRawPointer() [1/2]

template<typename FloatType>
static void VST3BufferExchange< FloatType >::assignRawPointer ( Steinberg::Vst::AudioBusBuffers &  vstBuffers,
float **  raw 
)
inlinestatic

◆ assignRawPointer() [2/2]

template<typename FloatType>
static void VST3BufferExchange< FloatType >::assignRawPointer ( Steinberg::Vst::AudioBusBuffers &  vstBuffers,
double **  raw 
)
inlinestatic

◆ associateBufferTo()

template<typename FloatType>
static void VST3BufferExchange< FloatType >::associateBufferTo ( Steinberg::Vst::AudioBusBuffers &  vstBuffers,
Bus bus,
AudioBuffer< FloatType > &  buffer,
int  numChannels,
int  channelStartOffset,
int  sampleOffset = 0 
)
inlinestatic

Assigns a series of AudioSampleBuffer's channels to an AudioBusBuffers'.

Warning
For speed, does not check the channel count and offsets according to the AudioSampleBuffer

◆ mapArrangementToBuses()

template<typename FloatType>
static void VST3BufferExchange< FloatType >::mapArrangementToBuses ( int channelIndexOffset,
int  index,
Array< Steinberg::Vst::AudioBusBuffers > &  result,
BusMap busMapToUse,
const AudioChannelSet arrangement,
AudioBuffer< FloatType > &  source 
)
inlinestatic

◆ mapBufferToBuses() [1/2]

template<typename FloatType>
static void VST3BufferExchange< FloatType >::mapBufferToBuses ( Array< Steinberg::Vst::AudioBusBuffers > &  result,
BusMap busMapToUse,
const Array< AudioChannelSet > &  arrangements,
AudioBuffer< FloatType > &  source 
)
inlinestatic

◆ mapBufferToBuses() [2/2]

template<typename FloatType>
static void VST3BufferExchange< FloatType >::mapBufferToBuses ( Array< Steinberg::Vst::AudioBusBuffers > &  result,
Steinberg::Vst::IAudioProcessor &  processor,
BusMap busMapToUse,
bool  isInput,
int  numBuses,
AudioBuffer< FloatType > &  source 
)
inlinestatic

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