Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1056)

Unified Diff: third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp

Issue 2623063002: Revert of Sub-sample accurate start of OscillatorNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp b/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
index ce68569c9d7b66654933c5040fa36f25b6b4bab5..821419d0125c9f07afd506125e19d310c054946f 100644
--- a/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/ConstantSourceNode.cpp
@@ -58,12 +58,11 @@
size_t quantumFrameOffset;
size_t nonSilentFramesToProcess;
- double startFrameOffset;
// Figure out where in the current rendering quantum that the source is
// active and for how many frames.
updateSchedulingInfo(framesToProcess, outputBus, quantumFrameOffset,
- nonSilentFramesToProcess, startFrameOffset);
+ nonSilentFramesToProcess);
if (!nonSilentFramesToProcess) {
outputBus->zero();

Powered by Google App Engine
This is Rietveld 408576698