Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(822)

Unified Diff: third_party/WebKit/Source/platform/audio/AudioIOCallback.h

Issue 2060833002: Implementation of 'AudioContext.getOutputTimestamp' method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added implementation for ALSA. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/AudioIOCallback.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioIOCallback.h b/third_party/WebKit/Source/platform/audio/AudioIOCallback.h
index fa59684f66c231fd34a3636697bb88941bb62862..72814720ec83fa2c9ebb5e574582e8691f037b24 100644
--- a/third_party/WebKit/Source/platform/audio/AudioIOCallback.h
+++ b/third_party/WebKit/Source/platform/audio/AudioIOCallback.h
@@ -29,6 +29,8 @@
#ifndef AudioIOCallback_h
#define AudioIOCallback_h
+#include "public/platform/WebAudioDevice.h"
+
namespace blink {
class AudioBus;
@@ -38,7 +40,7 @@ class AudioIOCallback {
public:
// render() is called periodically to get the next render quantum of audio into destinationBus.
// Optional audio input is given in sourceBus (if it's not 0).
- virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess) = 0;
+ virtual void render(AudioBus* sourceBus, AudioBus* destinationBus, size_t framesToProcess, const WebAudioTimestamp&) = 0;
virtual ~AudioIOCallback() { }
};

Powered by Google App Engine
This is Rietveld 408576698