Index: Source/modules/webaudio/AudioProcessingEvent.cpp |
diff --git a/Source/modules/webaudio/AudioProcessingEvent.cpp b/Source/modules/webaudio/AudioProcessingEvent.cpp |
index f33704648068b3e4d5b726f259d4c4d5712abcb9..186504859e81c3cc76163af54fb812a72c57fe9f 100644 |
--- a/Source/modules/webaudio/AudioProcessingEvent.cpp |
+++ b/Source/modules/webaudio/AudioProcessingEvent.cpp |
@@ -35,9 +35,9 @@ PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create() |
return adoptRefWillBeRefCountedGarbageCollected(new AudioProcessingEvent); |
} |
-PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer) |
+PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new AudioProcessingEvent(inputBuffer, outputBuffer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime)); |
} |
AudioProcessingEvent::AudioProcessingEvent() |
@@ -45,10 +45,11 @@ AudioProcessingEvent::AudioProcessingEvent() |
ScriptWrappable::init(this); |
} |
-AudioProcessingEvent::AudioProcessingEvent(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer) |
+AudioProcessingEvent::AudioProcessingEvent(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime) |
: Event(EventTypeNames::audioprocess, true, false) |
, m_inputBuffer(inputBuffer) |
, m_outputBuffer(outputBuffer) |
+ , m_playbackTime(playbackTime) |
{ |
ScriptWrappable::init(this); |
} |