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:
parent
6e96ad1f68
commit
4ef83305e2
3 changed files with 14 additions and 0 deletions
|
|
@ -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(); });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue