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..79f01420564794a5ea71834b82adf7ed5263fcca 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::processOnlyAudioParams(size_t framesToProcess) { |
+ DCHECK_LE(framesToProcess, AudioUtilities::kRenderQuantumFrames); |
+ |
+ float values[AudioUtilities::kRenderQuantumFrames]; |
+ |
+ getDelayProcessor()->delayTime().calculateSampleAccurateValues( |
+ values, framesToProcess); |
+} |
+ |
} // namespace blink |