1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows DLL: Fix FloatVectorOperations related warnings

This commit is contained in:
attila 2023-01-03 18:58:42 +01:00
parent 6e96ad1f68
commit 4ef83305e2
3 changed files with 14 additions and 0 deletions

View file

@ -498,6 +498,8 @@ struct GraphRenderSequence
currentAudioInputBuffer = nullptr;
}
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4661)
void addClearChannelOp (int index)
{
renderOps.push_back ([=] (const Context& c) { FloatVectorOperations::clear (c.audioBuffers[index], c.numSamples); });
@ -513,6 +515,8 @@ struct GraphRenderSequence
renderOps.push_back ([=] (const Context& c) { FloatVectorOperations::add (c.audioBuffers[dstIndex], c.audioBuffers[srcIndex], c.numSamples); });
}
JUCE_END_IGNORE_WARNINGS_MSVC
void addClearMidiBufferOp (int index)
{
renderOps.push_back ([=] (const Context& c) { c.midiBuffers[index].clear(); });