mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DSP: Refactored AudioBlock
This commit is contained in:
parent
462ed5468c
commit
41055ad782
13 changed files with 826 additions and 360 deletions
|
|
@ -768,7 +768,7 @@ struct Convolution::Pimpl : private Thread
|
|||
}
|
||||
|
||||
if (input.getNumChannels() > 1 && currentInfo.wantsStereo == false)
|
||||
output.getSingleChannelBlock (1).copy (output.getSingleChannelBlock (0));
|
||||
output.getSingleChannelBlock (1).copyFrom (output.getSingleChannelBlock (0));
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -1212,7 +1212,7 @@ void Convolution::processSamples (const AudioBlock<const float>& input, AudioBlo
|
|||
|
||||
if (volumeDry[0].isSmoothing())
|
||||
{
|
||||
dry.copy (input);
|
||||
dry.copyFrom (input);
|
||||
|
||||
for (size_t channel = 0; channel < numChannels; ++channel)
|
||||
volumeDry[channel].applyGain (dry.getChannelPointer (channel), (int) numSamples);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue