Index: third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
index 382689b6714d6e1e99a1128ac255c74e15788235..c70238a958a76ff6aee0dac11bfe963062039a36 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/StereoPannerNode.cpp |
@@ -74,6 +74,13 @@ void StereoPannerHandler::process(size_t framesToProcess) { |
} |
} |
+void StereoPannerHandler::processOnlyAudioParams(size_t framesToProcess) { |
+ float values[AudioUtilities::kRenderQuantumFrames]; |
+ DCHECK_LE(framesToProcess, AudioUtilities::kRenderQuantumFrames); |
+ |
+ m_pan->calculateSampleAccurateValues(values, framesToProcess); |
+} |
+ |
void StereoPannerHandler::initialize() { |
if (isInitialized()) |
return; |