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

Unified Diff: third_party/WebKit/Source/platform/audio/HRTFPanner.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/platform/audio/HRTFPanner.cpp
diff --git a/third_party/WebKit/Source/platform/audio/HRTFPanner.cpp b/third_party/WebKit/Source/platform/audio/HRTFPanner.cpp
index 1e2f146a791afb339a49fd9058b89cdfcc886bac..0177f6834068e23aea21a7806c027f4482ee7954 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFPanner.cpp
+++ b/third_party/WebKit/Source/platform/audio/HRTFPanner.cpp
@@ -350,6 +350,11 @@ void HRTFPanner::PanWithSampleAccurateValues(
frames_to_process, channel_interpretation);
}
+bool HRTFPanner::RequiresTailProcessing() const {
+ // Always return true since the tail and latency are never zero.
+ return true;
+}
+
double HRTFPanner::TailTime() const {
// Because HRTFPanner is implemented with a DelayKernel and a FFTConvolver,
// the tailTime of the HRTFPanner is the sum of the tailTime of the
« no previous file with comments | « third_party/WebKit/Source/platform/audio/HRTFPanner.h ('k') | third_party/WebKit/Source/platform/audio/Panner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698