JUCE  v5.1.1-3-g1a0b28c73
JUCE API
AudioUnitHelpers::CoreAudioBufferList Class Reference

#include <juce_AU_Shared.h>

Collaboration diagram for AudioUnitHelpers::CoreAudioBufferList:

Public Member Functions

 CoreAudioBufferList ()
 
AudioSampleBuffergetBuffer (UInt32 frames) noexcept
 
float * pop () noexcept
 
void pop (AudioBufferList &buffer, const int *channelMap) noexcept
 
void prepare (int inChannels, int outChannels, int maxFrames)
 
float * push () noexcept
 
void push (AudioBufferList &bufferList, const int *channelMap) noexcept
 
void release ()
 
void reset () noexcept
 
float * setBuffer (const int idx, float *ptr=nullptr) noexcept
 

Private Member Functions

float * uniqueBuffer (int idx, float *buffer) noexcept
 

Private Attributes

HeapBlock< float * > channels
 
AudioSampleBuffer mutableBuffer
 
int popIdx
 
int pushIdx
 
AudioSampleBuffer scratch
 

Constructor & Destructor Documentation

◆ CoreAudioBufferList()

AudioUnitHelpers::CoreAudioBufferList::CoreAudioBufferList ( )
inline

Member Function Documentation

◆ getBuffer()

AudioSampleBuffer& AudioUnitHelpers::CoreAudioBufferList::getBuffer ( UInt32  frames)
inlinenoexcept

References jassert.

◆ pop() [1/2]

float* AudioUnitHelpers::CoreAudioBufferList::pop ( )
inlinenoexcept

References jassert.

◆ pop() [2/2]

void AudioUnitHelpers::CoreAudioBufferList::pop ( AudioBufferList &  buffer,
const int channelMap 
)
inlinenoexcept

◆ prepare()

void AudioUnitHelpers::CoreAudioBufferList::prepare ( int  inChannels,
int  outChannels,
int  maxFrames 
)
inline

References juce::jmax().

◆ push() [1/2]

float* AudioUnitHelpers::CoreAudioBufferList::push ( )
inlinenoexcept

References jassert.

◆ push() [2/2]

void AudioUnitHelpers::CoreAudioBufferList::push ( AudioBufferList &  bufferList,
const int channelMap 
)
inlinenoexcept

◆ release()

void AudioUnitHelpers::CoreAudioBufferList::release ( )
inline

◆ reset()

void AudioUnitHelpers::CoreAudioBufferList::reset ( )
inlinenoexcept

References zeromem().

◆ setBuffer()

float* AudioUnitHelpers::CoreAudioBufferList::setBuffer ( const int  idx,
float *  ptr = nullptr 
)
inlinenoexcept

References jassert.

◆ uniqueBuffer()

float* AudioUnitHelpers::CoreAudioBufferList::uniqueBuffer ( int  idx,
float *  buffer 
)
inlineprivatenoexcept

Member Data Documentation

◆ channels

HeapBlock<float*> AudioUnitHelpers::CoreAudioBufferList::channels
private

◆ mutableBuffer

AudioSampleBuffer AudioUnitHelpers::CoreAudioBufferList::mutableBuffer
private

◆ popIdx

int AudioUnitHelpers::CoreAudioBufferList::popIdx
private

◆ pushIdx

int AudioUnitHelpers::CoreAudioBufferList::pushIdx
private

◆ scratch

AudioSampleBuffer AudioUnitHelpers::CoreAudioBufferList::scratch
private

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