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

Fixed some g++ compiler warnings

This commit is contained in:
tpoole 2017-08-29 14:47:04 +01:00
parent 35facc3656
commit 9b687968db
19 changed files with 198 additions and 280 deletions

View file

@ -929,7 +929,7 @@ void AudioDeviceManager::LevelMeter::updateLevel (const float* const* channelDat
for (int i = 0; i < numChannels; ++i)
s += std::abs (channelData[i][j]);
s /= numChannels;
s /= (float) numChannels;
const double decayFactor = 0.99992;