Skip to content

Commit

Permalink
RMS Detector: fix typo in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 authored May 30, 2024
1 parent 7524678 commit 8ff0c35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct RMSDetector
T* z,
T /* thresholdGain */) noexcept
{
jassert (inBuffer.getNumChannels() == outBuffer.getNumSamples());
jassert (inBuffer.getNumChannels() == outBuffer.getNumChannels());
jassert (inBuffer.getNumSamples() == outBuffer.getNumSamples());

for (auto [ch, inData, outData] : buffer_iters::zip_channels (inBuffer, outBuffer))
Expand Down

0 comments on commit 8ff0c35

Please sign in to comment.