Skip to content

Commit

Permalink
building and cross-fading. No locks or anything, pops are faint but p…
Browse files Browse the repository at this point in the history
…resent when switching effects
  • Loading branch information
vberthiaume committed Oct 23, 2024
1 parent ec7f9af commit 06a4570
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 80 deletions.
4 changes: 1 addition & 3 deletions source/DSP/PhatVerb.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,6 @@ class PhatVerbProcessor : PhatProcessorBase<T>
}

/** Applies the reverb to a mono or stereo buffer. */
//template <typename ProcessContext>
//void process (const ProcessContext& context) noexcept override
void process (const juce::dsp::ProcessContextReplacing<T>& context) override
{
const auto& inputBlock = context.getInputBlock();
Expand All @@ -362,7 +360,7 @@ class PhatVerbProcessor : PhatProcessorBase<T>

outputBlock.copyFrom (inputBlock);

if (!enabled || context.isBypassed)
if (! enabled || context.isBypassed)
return;

if (numInChannels == 1 && numOutChannels == 1)
Expand Down
Loading

0 comments on commit 06a4570

Please sign in to comment.