Index: third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
diff --git a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
index 942b7ff67613c808866669403c498570b0da65a9..13614e02e08f18f2bcf9a38b7165b6d2d15bcf2b 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
+++ b/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h |
@@ -267,6 +267,12 @@ public: |
// a histogram. |
void recordUserGestureState(); |
+ // Gets the audio timestamp of the currently audiable signal. |
+ void getOutputTimestamp(AudioTimestamp&); |
+ |
+ // Output timestamp to be set from destination handler. |
+ void setWebAudioTimestamp(const WebAudioTimestamp&); |
+ |
protected: |
explicit AbstractAudioContext(Document*); |
AbstractAudioContext(Document*, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate); |
@@ -375,6 +381,9 @@ private: |
// This is considering 32 is large enough for multiple channels audio. |
// It is somewhat arbitrary and could be increased if necessary. |
enum { MaxNumberOfChannels = 32 }; |
+ |
+ // Output audio stream timestamp. |
+ WebAudioTimestamp m_outputTimestamp; |
}; |
} // namespace blink |