Skip to content

Commit 50df165

Browse files
committed
Updates for latest juce
1 parent 7f492da commit 50df165

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.gitignore

+11-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,14 @@ install/testresults.txt
6868

6969
# CLion
7070
cmake-build*
71-
.idea/
71+
.idea/
72+
73+
# CMake
74+
CMakeCache.txt
75+
CMakeFiles/
76+
CMakeScripts/
77+
cmake_install.cmake
78+
pluginval.build/
79+
pluginval.xcodeproj/
80+
pluginval_artefacts/
81+

Source/TestUtilities.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ static inline juce::Array<juce::AudioProcessorParameter*> getNonBypassAutomatabl
5757
template<typename UnaryFunction>
5858
void iterateAudioBuffer (juce::AudioBuffer<float>& ab, UnaryFunction fn)
5959
{
60-
float** sampleData = ab.getArrayOfWritePointers();
60+
auto sampleData = ab.getArrayOfWritePointers();
6161

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

72-
float** sampleData = ab.getArrayOfWritePointers();
72+
auto sampleData = ab.getArrayOfWritePointers();
7373

7474
for (int c = ab.getNumChannels(); --c >= 0;)
7575
for (int s = ab.getNumSamples(); --s >= 0;)

Source/Validator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ struct PluginsUnitTestRunner : public juce::UnitTestRunner,
3333
resetTimeout();
3434

3535
if (timeoutInMs > 0)
36-
startThread (1);
36+
startThread (juce::Thread::Priority::low);
3737
}
3838

3939
~PluginsUnitTestRunner() override

modules/juce

Submodule juce updated 631 files

0 commit comments

Comments
 (0)