LMMS
Loading...
Searching...
No Matches
juce::ClientBufferMapperData< FloatType > Class Template Reference

#include <juce_VST3Common.h>

Public Member Functions

void prepare (int numChannels, int blockSize)
AudioBuffer< FloatType > getMappedBuffer (Steinberg::Vst::ProcessData &data, const std::vector< DynamicChannelMapping > &inputMap, const std::vector< DynamicChannelMapping > &outputMap)

Private Member Functions

AudioBuffer< FloatType > getBlankBuffer (int usedChannels, int usedSamples)

Static Private Member Functions

static void setUpInputChannels (Steinberg::Vst::ProcessData &data, size_t vstInputs, ScratchBuffer< FloatType > &scratchBuffer, const std::vector< DynamicChannelMapping > &map, std::vector< FloatType * > &channels)
static void setUpOutputChannels (ScratchBuffer< FloatType > &scratchBuffer, const std::vector< DynamicChannelMapping > &map, std::vector< FloatType * > &channels)

Private Attributes

std::vector< FloatType * > channels
ScratchBuffer< FloatType > scratchBuffer

Member Function Documentation

◆ getBlankBuffer()

template<typename FloatType>
AudioBuffer< FloatType > juce::ClientBufferMapperData< FloatType >::getBlankBuffer ( int usedChannels,
int usedSamples )
inlineprivate

◆ getMappedBuffer()

template<typename FloatType>
AudioBuffer< FloatType > juce::ClientBufferMapperData< FloatType >::getMappedBuffer ( Steinberg::Vst::ProcessData & data,
const std::vector< DynamicChannelMapping > & inputMap,
const std::vector< DynamicChannelMapping > & outputMap )
inline

◆ prepare()

template<typename FloatType>
void juce::ClientBufferMapperData< FloatType >::prepare ( int numChannels,
int blockSize )
inline

◆ setUpInputChannels()

template<typename FloatType>
void juce::ClientBufferMapperData< FloatType >::setUpInputChannels ( Steinberg::Vst::ProcessData & data,
size_t vstInputs,
ScratchBuffer< FloatType > & scratchBuffer,
const std::vector< DynamicChannelMapping > & map,
std::vector< FloatType * > & channels )
inlinestaticprivate

◆ setUpOutputChannels()

template<typename FloatType>
void juce::ClientBufferMapperData< FloatType >::setUpOutputChannels ( ScratchBuffer< FloatType > & scratchBuffer,
const std::vector< DynamicChannelMapping > & map,
std::vector< FloatType * > & channels )
inlinestaticprivate

Member Data Documentation

◆ channels

template<typename FloatType>
std::vector<FloatType*> juce::ClientBufferMapperData< FloatType >::channels
private

◆ scratchBuffer

template<typename FloatType>
ScratchBuffer<FloatType> juce::ClientBufferMapperData< FloatType >::scratchBuffer
private

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