https://bugs.webkit.org/show_bug.cgi?id=81744
Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-03-21
Reviewed by Chris Rogers.
* platform/audio/ReverbConvolverStage.cpp:
(WebCore::ReverbConvolverStage::ReverbConvolverStage):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111590
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-21 Xingnan Wang <xingnan.wang@intel.com>
+
+ Web audio layout test failed in debug with an ASSERT error in ReverbConvolverStage.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=81744
+
+ Reviewed by Chris Rogers.
+
+ * platform/audio/ReverbConvolverStage.cpp:
+ (WebCore::ReverbConvolverStage::ReverbConvolverStage):
+
2012-03-21 Xiaomei Ji <xji@chromium.org>
[chromium] Font fallback in cr-win is wrong for string contains zero-width-space.
// But, the FFT convolution itself incurs fftSize / 2 latency, so subtract this out...
size_t halfSize = fftSize / 2;
- ASSERT(totalDelay >= halfSize);
- if (totalDelay >= halfSize)
- totalDelay -= halfSize;
+ if (!m_directMode) {
+ ASSERT(totalDelay >= halfSize);
+ if (totalDelay >= halfSize)
+ totalDelay -= halfSize;
+ }
// We divide up the total delay, into pre and post delay sections so that we can schedule at exactly the moment when the FFT will happen.
// This is coordinated with the other stages, so they don't all do their FFTs at the same time...