mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some GCC compiler warnings and removed deprecated functions
This commit is contained in:
parent
ddd4e84b9e
commit
16dd26649a
109 changed files with 381 additions and 289 deletions
|
|
@ -175,7 +175,7 @@ public:
|
|||
// We need to clear the output buffers, in case they're full of junk..
|
||||
for (int i = 0; i < numOutputChannels; ++i)
|
||||
if (outputChannelData[i] != nullptr)
|
||||
zeromem (outputChannelData[i], sizeof (float) * (size_t) numSamples);
|
||||
zeromem (outputChannelData[i], (size_t) numSamples * sizeof (float));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,6 +149,8 @@ struct SineWaveVoice : public SynthesiserVoice
|
|||
}
|
||||
}
|
||||
|
||||
using SynthesiserVoice::renderNextBlock;
|
||||
|
||||
private:
|
||||
double currentAngle = 0.0, angleDelta = 0.0, level = 0.0, tailOff = 0.0;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -828,6 +828,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
using MPESynthesiserVoice::renderNextBlock;
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
float getNextSample() noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue