Index: third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
index f56919f4a6d42a5d0629ed22206123698771a813..f410ad2f767660752f41ab29baa0f5a2592a052b 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioScheduledSourceNode.h |
@@ -88,10 +88,15 @@ class AudioScheduledSourceHandler : public AudioHandler { |
// rendering. |
// nonSilentFramesToProcess : Number of frames rendering non-silence (will be |
// <= quantumFrameSize). |
+ // startFrameOffset : The fractional frame offset from quantumFrameOffset |
+ // and the actual starting time of the source. This is |
+ // non-zero only when transitioning from the |
+ // SCHEDULED_STATE to the PLAYING_STATE. |
void updateSchedulingInfo(size_t quantumFrameSize, |
AudioBus* outputBus, |
size_t& quantumFrameOffset, |
- size_t& nonSilentFramesToProcess); |
+ size_t& nonSilentFramesToProcess, |
+ double& startFrameOffset); |
// Called when we have no more sound to play or the stop() time has been |
// reached. No onEnded event is called. |