| Index: third_party/WebKit/Source/platform/audio/HRTFKernel.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/HRTFKernel.cpp b/third_party/WebKit/Source/platform/audio/HRTFKernel.cpp
|
| index a3d190f605ff39611b50c10ac4c4f16f025a996b..32e5a4f3841a5409bc680ab168509ff5ab050f6c 100644
|
| --- a/third_party/WebKit/Source/platform/audio/HRTFKernel.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/HRTFKernel.cpp
|
| @@ -43,12 +43,12 @@ namespace blink {
|
| // of the passed in AudioChannel must be a power of 2.
|
| static float extractAverageGroupDelay(AudioChannel* channel,
|
| size_t analysisFFTSize) {
|
| - ASSERT(channel);
|
| + DCHECK(channel);
|
|
|
| float* impulseP = channel->mutableData();
|
|
|
| bool isSizeGood = channel->length() >= analysisFFTSize;
|
| - ASSERT(isSizeGood);
|
| + DCHECK(isSizeGood);
|
| if (!isSizeGood)
|
| return 0;
|
|
|
| @@ -67,7 +67,7 @@ static float extractAverageGroupDelay(AudioChannel* channel,
|
|
|
| HRTFKernel::HRTFKernel(AudioChannel* channel, size_t fftSize, float sampleRate)
|
| : m_frameDelay(0), m_sampleRate(sampleRate) {
|
| - ASSERT(channel);
|
| + DCHECK(channel);
|
|
|
| // Determine the leading delay (average group delay) for the response.
|
| m_frameDelay = extractAverageGroupDelay(channel, fftSize / 2);
|
|
|