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 45d7a45..e2e6d71 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 15c249b..ad9cfcf 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