Index: third_party/WebKit/Source/platform/audio/DynamicsCompressor.h |
diff --git a/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h b/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h |
index 13f0a87559a2a16d6f9ef5efb13f5e7394600c38..119b6daabef2c3982b3bbb42c040e4ad0e87a45b 100644 |
--- a/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h |
+++ b/third_party/WebKit/Source/platform/audio/DynamicsCompressor.h |
@@ -83,10 +83,15 @@ class PLATFORM_EXPORT DynamicsCompressor { |
float SampleRate() const { return sample_rate_; } |
float Nyquist() const { return sample_rate_ / 2; } |
- double TailTime() const { return 0; } |
+ double TailTime() const; |
double LatencyTime() const { |
return compressor_.LatencyFrames() / static_cast<double>(SampleRate()); |
} |
+ bool RequiresTailProcessing() const { |
+ // Always return true even if the tail time and latency might both |
+ // be zero. |
+ return true; |
+ } |
protected: |
unsigned number_of_channels_; |