Index: Source/platform/audio/HRTFPanner.cpp |
diff --git a/Source/platform/audio/HRTFPanner.cpp b/Source/platform/audio/HRTFPanner.cpp |
index 04e410dba233decde70c91472d12cf7ba6103ab3..cfef47af91e00ce6f4e0fad5e23a41c1906aeaaf 100644 |
--- a/Source/platform/audio/HRTFPanner.cpp |
+++ b/Source/platform/audio/HRTFPanner.cpp |
@@ -34,8 +34,6 @@ |
#include "wtf/MathExtras.h" |
#include "wtf/RefPtr.h" |
-using namespace std; |
- |
namespace blink { |
// The value of 2 milliseconds is larger than the largest delay which exists in any HRTFKernel from the default HRTFDatabase (0.0136 seconds). |
@@ -113,8 +111,8 @@ int HRTFPanner::calculateDesiredAzimuthIndexAndBlend(double azimuth, double& azi |
// We don't immediately start using this azimuth index, but instead approach this index from the last index we rendered at. |
// This minimizes the clicks and graininess for moving sources which occur otherwise. |
- desiredAzimuthIndex = max(0, desiredAzimuthIndex); |
- desiredAzimuthIndex = min(numberOfAzimuths - 1, desiredAzimuthIndex); |
+ desiredAzimuthIndex = std::max(0, desiredAzimuthIndex); |
+ desiredAzimuthIndex = std::min(numberOfAzimuths - 1, desiredAzimuthIndex); |
return desiredAzimuthIndex; |
} |