LMMS
Loading...
Searching...
No Matches
juce::dsp::ConvolutionEngineFactory Class Reference

Public Member Functions

 ConvolutionEngineFactory (Convolution::Latency requiredLatency, Convolution::NonUniform requiredHeadSize)
void setProcessSpec (const ProcessSpec &spec)
void setImpulseResponse (BufferWithSampleRate &&buf, Convolution::Stereo stereo, Convolution::Trim trim, Convolution::Normalise normalise)
std::unique_ptr< MultichannelEnginegetEngine ()

Private Member Functions

std::unique_ptr< MultichannelEnginemakeEngine ()

Static Private Member Functions

static AudioBuffer< float > makeImpulseBuffer ()

Private Attributes

ProcessSpec processSpec { 44100.0, 128, 2 }
AudioBuffer< float > impulseResponse = makeImpulseBuffer()
double originalSampleRate = processSpec.sampleRate
Convolution::Normalise wantsNormalise = Convolution::Normalise::no
const Convolution::Latency latency
const Convolution::NonUniform headSize
const bool shouldBeZeroLatency
TryLockedPtr< MultichannelEngineengine
std::mutex mutex

Constructor & Destructor Documentation

◆ ConvolutionEngineFactory()

juce::dsp::ConvolutionEngineFactory::ConvolutionEngineFactory ( Convolution::Latency requiredLatency,
Convolution::NonUniform requiredHeadSize )
inline

Member Function Documentation

◆ getEngine()

std::unique_ptr< MultichannelEngine > juce::dsp::ConvolutionEngineFactory::getEngine ( )
inline

◆ makeEngine()

std::unique_ptr< MultichannelEngine > juce::dsp::ConvolutionEngineFactory::makeEngine ( )
inlineprivate

◆ makeImpulseBuffer()

AudioBuffer< float > juce::dsp::ConvolutionEngineFactory::makeImpulseBuffer ( )
inlinestaticprivate

◆ setImpulseResponse()

void juce::dsp::ConvolutionEngineFactory::setImpulseResponse ( BufferWithSampleRate && buf,
Convolution::Stereo stereo,
Convolution::Trim trim,
Convolution::Normalise normalise )
inline

◆ setProcessSpec()

void juce::dsp::ConvolutionEngineFactory::setProcessSpec ( const ProcessSpec & spec)
inline

Member Data Documentation

◆ engine

TryLockedPtr<MultichannelEngine> juce::dsp::ConvolutionEngineFactory::engine
private

◆ headSize

const Convolution::NonUniform juce::dsp::ConvolutionEngineFactory::headSize
private

◆ impulseResponse

AudioBuffer<float> juce::dsp::ConvolutionEngineFactory::impulseResponse = makeImpulseBuffer()
private

◆ latency

const Convolution::Latency juce::dsp::ConvolutionEngineFactory::latency
private

◆ mutex

std::mutex juce::dsp::ConvolutionEngineFactory::mutex
mutableprivate

◆ originalSampleRate

double juce::dsp::ConvolutionEngineFactory::originalSampleRate = processSpec.sampleRate
private

◆ processSpec

ProcessSpec juce::dsp::ConvolutionEngineFactory::processSpec { 44100.0, 128, 2 }
private

◆ shouldBeZeroLatency

const bool juce::dsp::ConvolutionEngineFactory::shouldBeZeroLatency
private

◆ wantsNormalise

Convolution::Normalise juce::dsp::ConvolutionEngineFactory::wantsNormalise = Convolution::Normalise::no
private

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