Index: media/audio/audio_io.h |
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h |
index 66ff3f2dc98cf7af2324fa1cb58944e29c003342..3c423924f4a5a73e3c265539d7a18fe4b7b1f507 100644 |
--- a/media/audio/audio_io.h |
+++ b/media/audio/audio_io.h |
@@ -7,6 +7,7 @@ |
#include <stdint.h> |
+#include "base/time/time.h" |
#include "media/base/audio_bus.h" |
// Low-level audio output support. To make sound there are 3 objects involved: |
@@ -65,6 +66,7 @@ class MEDIA_EXPORT AudioOutputStream { |
// |frames_skipped| contains the number of frames skipped by the consumer. |
virtual int OnMoreData(AudioBus* dest, |
uint32_t total_bytes_delay, |
+ base::TimeDelta delay_timestamp, |
alokp
2016/06/30 23:37:39
please add comments
jameswest
2016/07/01 00:08:45
Done.
|
uint32_t frames_skipped) = 0; |
// There was an error while playing a buffer. Audio source cannot be |
@@ -114,14 +116,14 @@ class MEDIA_EXPORT AudioInputStream { |
virtual void OnData(AudioInputStream* stream, |
const AudioBus* source, |
uint32_t hardware_delay_bytes, |
- double volume){}; |
+ double volume) {} |
// TODO(henrika): don't use; to be removed. |
virtual void OnData(AudioInputStream* stream, |
const uint8_t* src, |
uint32_t size, |
uint32_t hardware_delay_bytes, |
- double volume){}; |
+ double volume) {} |
// There was an error while recording audio. The audio sink cannot be |
// destroyed yet. No direct action needed by the AudioInputStream, but it |