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
|
|
@ -558,7 +558,11 @@ public:
|
|||
if (! isClear)
|
||||
{
|
||||
for (int i = 0; i < numChannels; ++i)
|
||||
{
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4661)
|
||||
FloatVectorOperations::clear (channels[i], size);
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
}
|
||||
|
||||
isClear = true;
|
||||
}
|
||||
|
|
@ -799,6 +803,8 @@ public:
|
|||
auto* d = channels[destChannel] + destStartSample;
|
||||
auto* s = source.channels[sourceChannel] + sourceStartSample;
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4661)
|
||||
|
||||
if (isClear)
|
||||
{
|
||||
isClear = false;
|
||||
|
|
@ -815,6 +821,8 @@ public:
|
|||
else
|
||||
FloatVectorOperations::add (d, s, numSamples);
|
||||
}
|
||||
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,9 @@
|
|||
|
||||
//==============================================================================
|
||||
#include "buffers/juce_AudioDataConverters.h"
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4661)
|
||||
#include "buffers/juce_FloatVectorOperations.h"
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
#include "buffers/juce_AudioSampleBuffer.h"
|
||||
#include "buffers/juce_AudioChannelSet.h"
|
||||
#include "buffers/juce_AudioProcessLoadMeasurer.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue