Skip to content

Commit

Permalink
Updates for latest juce
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Nov 11, 2022
1 parent 7f492da commit 50df165
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ install/testresults.txt

# CLion
cmake-build*
.idea/
.idea/

# CMake
CMakeCache.txt
CMakeFiles/
CMakeScripts/
cmake_install.cmake
pluginval.build/
pluginval.xcodeproj/
pluginval_artefacts/

4 changes: 2 additions & 2 deletions Source/TestUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static inline juce::Array<juce::AudioProcessorParameter*> getNonBypassAutomatabl
template<typename UnaryFunction>
void iterateAudioBuffer (juce::AudioBuffer<float>& ab, UnaryFunction fn)
{
float** sampleData = ab.getArrayOfWritePointers();
auto sampleData = ab.getArrayOfWritePointers();

for (int c = ab.getNumChannels(); --c >= 0;)
for (int s = ab.getNumSamples(); --s >= 0;)
Expand All @@ -69,7 +69,7 @@ static inline void fillNoise (juce::AudioBuffer<float>& ab) noexcept
juce::Random r;
juce::ScopedNoDenormals noDenormals;

float** sampleData = ab.getArrayOfWritePointers();
auto sampleData = ab.getArrayOfWritePointers();

for (int c = ab.getNumChannels(); --c >= 0;)
for (int s = ab.getNumSamples(); --s >= 0;)
Expand Down
2 changes: 1 addition & 1 deletion Source/Validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct PluginsUnitTestRunner : public juce::UnitTestRunner,
resetTimeout();

if (timeoutInMs > 0)
startThread (1);
startThread (juce::Thread::Priority::low);
}

~PluginsUnitTestRunner() override
Expand Down
2 changes: 1 addition & 1 deletion modules/juce
Submodule juce updated 631 files

0 comments on commit 50df165

Please sign in to comment.