| Index: third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
|
| index f5eea247a774b645966ee5b6ccb6e35cf9056108..99eb2b7d415ced9e0ab2ff56a46c821fb1fb3828 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioDestinationNode.cpp
|
| @@ -23,6 +23,7 @@
|
| */
|
|
|
| #include "modules/webaudio/AudioDestinationNode.h"
|
| +
|
| #include "modules/webaudio/AbstractAudioContext.h"
|
| #include "modules/webaudio/AudioNodeInput.h"
|
| #include "modules/webaudio/AudioNodeOutput.h"
|
| @@ -44,7 +45,7 @@ AudioDestinationHandler::~AudioDestinationHandler()
|
| ASSERT(!isInitialized());
|
| }
|
|
|
| -void AudioDestinationHandler::render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames)
|
| +void AudioDestinationHandler::render(AudioBus* sourceBus, AudioBus* destinationBus, size_t numberOfFrames, const WebAudioTimestamp& outputTimestamp)
|
| {
|
| // We don't want denormals slowing down any of the audio processing
|
| // since they can very seriously hurt performance.
|
| @@ -72,7 +73,8 @@ void AudioDestinationHandler::render(AudioBus* sourceBus, AudioBus* destinationB
|
| }
|
|
|
| // Let the context take care of any business at the start of each render quantum.
|
| - context()->handlePreRenderTasks();
|
| + // Set the output device audio stream timestamp.
|
| + context()->handlePreRenderTasks(outputTimestamp);
|
|
|
| // Prepare the local audio input provider for this render quantum.
|
| if (sourceBus)
|
|
|