| Index: Source/platform/audio/AudioResamplerKernel.cpp
|
| diff --git a/Source/platform/audio/AudioResamplerKernel.cpp b/Source/platform/audio/AudioResamplerKernel.cpp
|
| index 6f920c032a4ab910981fdb59361459a8085e8638..45d9b2671aa403716ea6ec273613786b7aa2976d 100644
|
| --- a/Source/platform/audio/AudioResamplerKernel.cpp
|
| +++ b/Source/platform/audio/AudioResamplerKernel.cpp
|
| @@ -31,8 +31,6 @@
|
| #include <algorithm>
|
| #include "platform/audio/AudioResampler.h"
|
|
|
| -using namespace std;
|
| -
|
| namespace blink {
|
|
|
| const size_t AudioResamplerKernel::MaxFramesToProcess = 128;
|
| @@ -80,8 +78,8 @@ void AudioResamplerKernel::process(float* destination, size_t framesToProcess)
|
| float* source = m_sourceBuffer.data();
|
|
|
| double rate = this->rate();
|
| - rate = max(0.0, rate);
|
| - rate = min(AudioResampler::MaxRate, rate);
|
| + rate = std::max(0.0, rate);
|
| + rate = std::min(AudioResampler::MaxRate, rate);
|
|
|
| // Start out with the previous saved values (if any).
|
| if (m_fillIndex > 0) {
|
|
|