Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp

Issue 2839063003: Implement tail processing for AudioNodes (Closed)
Patch Set: Make declaration order consistent Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
index c59976bccec4999eee29caa6ad2d7eb3c30108f6..11934f163609ca95fb3785ed4fbac180b21bebaf 100644
--- a/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ConvolverNode.cpp
@@ -164,6 +164,12 @@ AudioBuffer* ConvolverHandler::Buffer() {
return buffer_.Get();
}
+bool ConvolverHandler::RequiresTailProcessing() const {
+ // Always return true even if the tail time and latency might both
+ // be zero.
+ return true;
+}
+
double ConvolverHandler::TailTime() const {
MutexTryLocker try_locker(process_lock_);
if (try_locker.Locked())

Powered by Google App Engine
This is Rietveld 408576698