JUCE  v5.1.1-3-g1a0b28c73
JUCE API
AudioUnitHelpers Struct Reference

#include <juce_AU_Shared.h>

Classes

class  ChannelRemapper
 
class  CoreAudioBufferList
 

Static Public Member Functions

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
 
static Array< AUChannelInfo > getAUChannelInfo (const AudioProcessor &processor)
 
static int getBusCount (const AudioProcessor *juceFilter, bool isInput)
 
static AudioProcessor::BusesLayout getBusesLayout (const AudioProcessor *juceFilter)
 
static bool isAudioBufferInterleaved (const AudioBufferList &audioBuffer) noexcept
 
template<int numLayouts>
static bool isLayoutSupported (const AudioProcessor &processor, bool isInput, int busIdx, int numChannels, const short(&channelLayoutList) [numLayouts][2], bool hasLayoutMap=true)
 
static bool isNumberOfChannelsSupported (const AudioProcessor::Bus *b, int numChannels, AudioProcessor::BusesLayout &inOutCurrentLayout)
 
static bool setBusesLayout (AudioProcessor *juceFilter, const AudioProcessor::BusesLayout &requestedLayouts)
 

Member Function Documentation

◆ clearAudioBuffer()

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

References zeromem().

◆ copyAudioBuffer() [1/2]

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

◆ copyAudioBuffer() [2/2]

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

◆ getAUChannelInfo()

◆ getBusCount()

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

◆ getBusesLayout()

◆ isAudioBufferInterleaved()

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

◆ isLayoutSupported()

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

◆ isNumberOfChannelsSupported()

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

◆ setBusesLayout()


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