| Index: third_party/WebKit/public/platform/WebAudioDevice.h
|
| diff --git a/third_party/WebKit/public/platform/WebAudioDevice.h b/third_party/WebKit/public/platform/WebAudioDevice.h
|
| index 6680cfb0d6eec2b0bb59a0039cce016eef957879..1de0eba2a8153776058b86eec276cd70e4cd6392 100644
|
| --- a/third_party/WebKit/public/platform/WebAudioDevice.h
|
| +++ b/third_party/WebKit/public/platform/WebAudioDevice.h
|
| @@ -35,14 +35,21 @@
|
| namespace blink {
|
|
|
| // Abstract interface to the Chromium audio system.
|
| -
|
| class WebAudioDevice {
|
| public:
|
| class BLINK_PLATFORM_EXPORT RenderCallback {
|
| public:
|
| + // Note: |delay| and |delayTimestamp| arguments are high-precision
|
| + // measurements of the state of the system in the recent past. To be clear,
|
| + // |delay| does *not* represent the point-in-time at which the first
|
| + // rendered sample will be played out.
|
| virtual void render(const WebVector<float*>& sourceData,
|
| const WebVector<float*>& destinationData,
|
| - size_t numberOfFrames);
|
| + size_t numberOfFrames,
|
| + double delay, // Output delay in seconds.
|
| + double delayTimestamp, // System timestamp in seconds
|
| + // when |delay| was obtained.
|
| + size_t priorFramesSkipped);
|
|
|
| protected:
|
| virtual ~RenderCallback();
|
|
|