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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.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/AudioDSPKernelProcessor.cpp
diff --git a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
index 63d81a30d4c095ca52f7cd0f5800c37769edad14..7ff00d9cf9874ebe7499047e3b38074f68f6a798 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
+++ b/third_party/WebKit/Source/platform/audio/AudioDSPKernelProcessor.cpp
@@ -136,6 +136,12 @@ void AudioDSPKernelProcessor::SetNumberOfChannels(unsigned number_of_channels) {
number_of_channels_ = number_of_channels;
}
+bool AudioDSPKernelProcessor::RequiresTailProcessing() const {
+ // Always return true even if the tail time and latency might both
+ // be zero.
+ return true;
+}
+
double AudioDSPKernelProcessor::TailTime() const {
DCHECK(!IsMainThread());
MutexTryLocker try_locker(process_lock_);

Powered by Google App Engine
This is Rietveld 408576698