ReverbConvolver::latencyFrames() should return 0.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Mar 2012 17:28:06 +0000 (17:28 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Mar 2012 17:28:06 +0000 (17:28 +0000)
https://bugs.webkit.org/show_bug.cgi?id=81806

Patch by Xingnan Wang <xingnan.wang@intel.com> on 2012-03-22
Reviewed by Chris Rogers.

* platform/audio/ReverbConvolver.cpp:
(WebCore::ReverbConvolver::latencyFrames):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/audio/ReverbConvolver.cpp

index 45d7a4567379d37fef7cba15440ac853a4aaa03c..e2e6d7112be9c7297822ddea70638da3fbabd22c 100644 (file)
@@ -1,3 +1,13 @@
+2012-03-22  Xingnan Wang  <xingnan.wang@intel.com>
+
+        ReverbConvolver::latencyFrames() should return 0.
+        https://bugs.webkit.org/show_bug.cgi?id=81806
+
+        Reviewed by Chris Rogers.
+
+        * platform/audio/ReverbConvolver.cpp:
+        (WebCore::ReverbConvolver::latencyFrames):
+
 2012-03-22  Tony Chang  <tony@chromium.org>
 
         refactor flexbox in preparation for flex-line-pack
index 15c249b3e2051ca4f64ca42eafaf076fc4ec8428..ad9cfcf41ed916a3c5385586f70d66ae688ce682 100644 (file)
@@ -231,9 +231,7 @@ void ReverbConvolver::reset()
 
 size_t ReverbConvolver::latencyFrames() const
 {
-    // FIXME: ConvolverNode should not incur processing latency
-    // <https://bugs.webkit.org/show_bug.cgi?id=75564>
-    return m_minFFTSize / 2;
+    return 0;
 }
 
 } // namespace WebCore