Index: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h |
index d0e80b9bcbf819140438e96e73a44fbeafe280e5..813f05f1645b2d72c70dabd0ee1809e014ce1904 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h |
+++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h |
@@ -239,7 +239,7 @@ class MODULES_EXPORT BaseAudioContext : public EventTargetWithInlineData, |
void notifySourceNodeFinishedProcessing(AudioHandler*); |
// Called at the start of each render quantum. |
- void handlePreRenderTasks(); |
+ void handlePreRenderTasks(const AudioIOPosition& outputPosition); |
// Called at the end of each render quantum. |
void handlePostRenderTasks(); |
@@ -347,6 +347,8 @@ class MODULES_EXPORT BaseAudioContext : public EventTargetWithInlineData, |
// Returns whether the AudioContext is allowed to start rendering. |
bool isAllowedToStart() const; |
+ AudioIOPosition outputPosition(); |
+ |
private: |
friend class BaseAudioContextTest; |
@@ -450,6 +452,7 @@ class MODULES_EXPORT BaseAudioContext : public EventTargetWithInlineData, |
enum { MaxNumberOfChannels = 32 }; |
Optional<AutoplayStatus> m_autoplayStatus; |
+ AudioIOPosition m_outputPosition; |
}; |
} // namespace blink |