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

Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up

This commit is contained in:
jules 2017-10-11 12:25:05 +01:00
parent 9b386b86ec
commit dd4230586f
26 changed files with 69 additions and 67 deletions

View file

@ -126,7 +126,7 @@ public:
}
}
void getLevels (int64 startSample, int numSamples, Array<Range<float> >& levels)
void getLevels (int64 startSample, int numSamples, Array<Range<float>>& levels)
{
const ScopedLock sl (readerLock);
@ -144,7 +144,7 @@ public:
if (reader != nullptr)
{
if (levels.size() < (int) reader->numChannels)
levels.insertMultiple (0, Range<float>(), (int) reader->numChannels - levels.size());
levels.insertMultiple (0, {}, (int) reader->numChannels - levels.size());
reader->readMaxLevels (startSample, numSamples, levels.getRawDataPointer(), (int) reader->numChannels);

View file

@ -76,7 +76,7 @@ struct AudioVisualiserComponent::ChannelInfo
}
AudioVisualiserComponent& owner;
Array<Range<float> > levels;
Array<Range<float>> levels;
Range<float> value;
int nextSample, subSample;