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

Unified Diff: third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.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/IIRDSPKernel.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.cpp
index bffebbd1e62e01c6271f5479c1741389ab9108a8..c6c1ee4dfe672cf76c700e946a1433938cbe82e8 100644
--- a/third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/IIRDSPKernel.cpp
@@ -46,6 +46,12 @@ void IIRDSPKernel::GetFrequencyResponse(int n_frequencies,
phase_response);
}
+bool IIRDSPKernel::RequiresTailProcessing() const {
+ // Always return true even if the tail time and latency might both
+ // be zero.
+ return true;
+}
+
double IIRDSPKernel::TailTime() const {
return tail_time_;
}

Powered by Google App Engine
This is Rietveld 408576698