Index: third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp |
index cc63f89fef8c37e16148f7303e42a5c9c4ff116b..389162351e6bb3061b3d69e80b0f29e4de8752d7 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/DelayDSPKernel.cpp |
@@ -67,4 +67,13 @@ double DelayDSPKernel::delayTime(float) { |
return getDelayProcessor()->delayTime().finalValue(); |
} |
+void DelayDSPKernel::processAudioParams(size_t framesToProcess) { |
+ DCHECK_LE(framesToProcess, AudioUtilities::kRenderQuantumFrames); |
+ |
+ float values[AudioUtilities::kRenderQuantumFrames]; |
+ |
+ getDelayProcessor()->delayTime().calculateSampleAccurateValues( |
+ values, framesToProcess); |
+} |
+ |
} // namespace blink |