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

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

Powered by Google App Engine
This is Rietveld 408576698