mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Converted some old uses of non-C++ maths functions to their std equivalents
This commit is contained in:
parent
15e40d48ba
commit
ff99aec1ab
9 changed files with 100 additions and 99 deletions
|
|
@ -72,7 +72,7 @@ public:
|
|||
float sample = buffer.getReadPointer (ch)[j];
|
||||
alpha = (0.8f * alpha) + (0.2f * sample);
|
||||
|
||||
if (fabsf (alpha) >= 0.1f)
|
||||
if (std::abs (alpha) >= 0.1f)
|
||||
channelTime = static_cast<int> (getSampleRate() / 2.0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue