Skip to content

Commit

Permalink
Continued fix of warnings: Delay override method, fir types
Browse files Browse the repository at this point in the history
  • Loading branch information
austrianAudioJV committed Nov 21, 2023
1 parent 14f6952 commit 1ed4a8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion JUCE
Submodule JUCE updated 228 files
7 changes: 3 additions & 4 deletions resources/Delay.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ class Delay : private ProcessorBase
{
public:

Delay()
{
}
~Delay() {} ;
Delay() {};

~Delay() override {} ;

void setDelayTime (float delayTimeInSeconds)
{
Expand Down
2 changes: 1 addition & 1 deletion source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ void PolarDesignerAudioProcessor::computeFilterCoefficients(int crossoverNr)
float* lp2hpCoeffs = lp2hp->getRawCoefficients();
for (int i=0; i<firLen; ++i) // highpass transform
{
*(filterBufferPointer+i) = *(lp2hpCoeffs+i) * std::cosf(MathConstants<float>::pi * (i - (firLen - 1) / 2));
*(filterBufferPointer+i) = *(lp2hpCoeffs+i) * std::cosf(MathConstants<float>::pi * (i - (firLen - 1.0f) / 2.0f));
}
}

Expand Down

0 comments on commit 1ed4a8d

Please sign in to comment.