LMMS
Loading...
Searching...
No Matches
juce::AudioUnitHelpers Struct Reference

#include <juce_AU_Shared.h>

Classes

class  ChannelRemapper
class  CoreAudioBufferList

Static Public Member Functions

static bool isAudioBufferInterleaved (const AudioBufferList &audioBuffer) noexcept
static void clearAudioBuffer (const AudioBufferList &audioBuffer) noexcept
static void copyAudioBuffer (const AudioBufferList &audioBuffer, const int channel, const UInt32 size, float *dst) noexcept
static void copyAudioBuffer (const float *src, const int channel, const UInt32 size, AudioBufferList &audioBuffer) noexcept
template<size_t numLayouts>
static bool isLayoutSupported (const AudioProcessor &processor, bool isInput, int busIdx, int numChannels, const short(&channelLayoutList)[numLayouts][2], bool hasLayoutMap=true)
static Array< AUChannelInfo > getAUChannelInfo (const AudioProcessor &processor)
static bool isNumberOfChannelsSupported (const AudioProcessor::Bus *b, int numChannels, AudioProcessor::BusesLayout &inOutCurrentLayout)
static int getBusCount (const AudioProcessor &juceFilter, bool isInput)
static int getBusCountForWrapper (const AudioProcessor &juceFilter, bool isInput)
static bool setBusesLayout (AudioProcessor *juceFilter, const AudioProcessor::BusesLayout &requestedLayouts)
static AudioProcessor::BusesLayout getBusesLayout (const AudioProcessor *juceFilter)

Member Function Documentation

◆ clearAudioBuffer()

void juce::AudioUnitHelpers::clearAudioBuffer ( const AudioBufferList & audioBuffer)
inlinestaticnoexcept

◆ copyAudioBuffer() [1/2]

void juce::AudioUnitHelpers::copyAudioBuffer ( const AudioBufferList & audioBuffer,
const int channel,
const UInt32 size,
float * dst )
inlinestaticnoexcept

◆ copyAudioBuffer() [2/2]

void juce::AudioUnitHelpers::copyAudioBuffer ( const float * src,
const int channel,
const UInt32 size,
AudioBufferList & audioBuffer )
inlinestaticnoexcept

◆ getAUChannelInfo()

Array< AUChannelInfo > juce::AudioUnitHelpers::getAUChannelInfo ( const AudioProcessor & processor)
inlinestatic

◆ getBusCount()

int juce::AudioUnitHelpers::getBusCount ( const AudioProcessor & juceFilter,
bool isInput )
inlinestatic

◆ getBusCountForWrapper()

int juce::AudioUnitHelpers::getBusCountForWrapper ( const AudioProcessor & juceFilter,
bool isInput )
inlinestatic

◆ getBusesLayout()

AudioProcessor::BusesLayout juce::AudioUnitHelpers::getBusesLayout ( const AudioProcessor * juceFilter)
inlinestatic

◆ isAudioBufferInterleaved()

bool juce::AudioUnitHelpers::isAudioBufferInterleaved ( const AudioBufferList & audioBuffer)
inlinestaticnoexcept

◆ isLayoutSupported()

template<size_t numLayouts>
bool juce::AudioUnitHelpers::isLayoutSupported ( const AudioProcessor & processor,
bool isInput,
int busIdx,
int numChannels,
const short(&) channelLayoutList[numLayouts][2],
bool hasLayoutMap = true )
inlinestatic

◆ isNumberOfChannelsSupported()

bool juce::AudioUnitHelpers::isNumberOfChannelsSupported ( const AudioProcessor::Bus * b,
int numChannels,
AudioProcessor::BusesLayout & inOutCurrentLayout )
inlinestatic

◆ setBusesLayout()

bool juce::AudioUnitHelpers::setBusesLayout ( AudioProcessor * juceFilter,
const AudioProcessor::BusesLayout & requestedLayouts )
inlinestatic

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