| 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 4b83dead10c4c39acab8a4fadda766e27e726fac..48ef8b6316f8d2d3f324adc0e173cc99b9544688 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| +++ b/third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h
|
| @@ -238,7 +238,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();
|
| @@ -346,6 +346,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;
|
|
|
| @@ -449,6 +451,7 @@ class MODULES_EXPORT BaseAudioContext : public EventTargetWithInlineData,
|
| enum { MaxNumberOfChannels = 32 };
|
|
|
| Optional<AutoplayStatus> m_autoplayStatus;
|
| + AudioIOPosition m_outputPosition;
|
| };
|
|
|
| } // namespace blink
|
|
|