| Index: third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| index dddafd58d068e0170bedc8b1b9e4c10af2d68e5b..580753a254a802872c9044e36c45530e1ca12e42 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| @@ -172,6 +172,15 @@ void AnalyserHandler::UpdatePullStatus() {
|
| }
|
| }
|
| }
|
| +
|
| +bool AnalyserHandler::RequiresTailProcessing() const {
|
| + // Tail time is always non-zero so tail processing is required.
|
| + return true;
|
| +}
|
| +
|
| +double AnalyserHandler::TailTime() const {
|
| + return 32768 / static_cast<double>(Context()->sampleRate());
|
| +};
|
| // ----------------------------------------------------------------
|
|
|
| AnalyserNode::AnalyserNode(BaseAudioContext& context)
|
|
|