Index: Source/platform/audio/AudioDelayDSPKernel.cpp |
diff --git a/Source/platform/audio/AudioDelayDSPKernel.cpp b/Source/platform/audio/AudioDelayDSPKernel.cpp |
index 326a7002bf6d13cc2a35394291257177703b4517..861ac9b7d3ad3ab6b05b045350b824ba86d99a67 100644 |
--- a/Source/platform/audio/AudioDelayDSPKernel.cpp |
+++ b/Source/platform/audio/AudioDelayDSPKernel.cpp |
@@ -32,8 +32,6 @@ |
#include "wtf/MathExtras.h" |
#include <algorithm> |
-using namespace std; |
- |
namespace blink { |
const float SmoothingTimeConstant = 0.020f; // 20ms |
@@ -115,8 +113,8 @@ void AudioDelayDSPKernel::process(const float* source, float* destination, size_ |
delayTime = this->delayTime(sampleRate); |
// Make sure the delay time is in a valid range. |
- delayTime = min(maxTime, delayTime); |
- delayTime = max(0.0, delayTime); |
+ delayTime = std::min(maxTime, delayTime); |
+ delayTime = std::max(0.0, delayTime); |
if (m_firstTime) { |
m_currentDelayTime = delayTime; |