mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Add a base clang-tidy configuration
This commit is contained in:
parent
0dfaa98e86
commit
9b041f3d74
73 changed files with 484 additions and 279 deletions
|
|
@ -76,11 +76,11 @@ namespace FIR
|
|||
|
||||
//==============================================================================
|
||||
/** Prepare this filter for processing. */
|
||||
inline void prepare (const ProcessSpec& spec) noexcept
|
||||
inline void prepare ([[maybe_unused]] const ProcessSpec& spec) noexcept
|
||||
{
|
||||
// This class can only process mono signals. Use the ProcessorDuplicator class
|
||||
// to apply this filter on a multi-channel audio stream.
|
||||
jassertquiet (spec.numChannels == 1);
|
||||
jassert (spec.numChannels == 1);
|
||||
reset();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,9 +82,9 @@ public:
|
|||
|
||||
const auto numInputChannels = inputBlock.getNumChannels();
|
||||
const auto numOutputChannels = outputBlock.getNumChannels();
|
||||
const auto numSamples = outputBlock.getNumSamples();
|
||||
[[maybe_unused]] const auto numSamples = outputBlock.getNumSamples();
|
||||
|
||||
jassertquiet (inputBlock.getNumSamples() == numSamples);
|
||||
jassert (inputBlock.getNumSamples() == numSamples);
|
||||
|
||||
if (numOutputChannels != 2 || numInputChannels == 0 || numInputChannels > 2)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue