mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DSP: Allow Convolution instances to share a single background thread
This commit is contained in:
parent
1502a3a8f2
commit
ae35ebd5bc
3 changed files with 212 additions and 97 deletions
|
|
@ -1129,8 +1129,9 @@ private:
|
|||
return latency;
|
||||
}
|
||||
|
||||
dsp::Convolution cabinet { dsp::Convolution::NonUniform { 512 } };
|
||||
dsp::Convolution reverb { dsp::Convolution::NonUniform { 512 } };
|
||||
dsp::ConvolutionMessageQueue queue;
|
||||
dsp::Convolution cabinet { dsp::Convolution::NonUniform { 512 }, queue };
|
||||
dsp::Convolution reverb { dsp::Convolution::NonUniform { 512 }, queue };
|
||||
dsp::DryWetMixer<float> mixer;
|
||||
bool cabEnabled = false, reverbEnabled = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue