Chromium Code Reviews| Index: media/audio/audio_device_thread.h |
| diff --git a/media/audio/audio_device_thread.h b/media/audio/audio_device_thread.h |
| index 61e5e8724ddc24b289c01c364e3491b137779462..9f36fb4e8fa8833ed04f09e3cd841942c8d16c98 100644 |
| --- a/media/audio/audio_device_thread.h |
| +++ b/media/audio/audio_device_thread.h |
| @@ -12,6 +12,7 @@ |
| #include "base/memory/shared_memory.h" |
| #include "base/sync_socket.h" |
| #include "base/synchronization/lock.h" |
| +#include "media/audio/audio_io.h" |
| #include "media/base/audio_parameters.h" |
| #include "media/base/media_export.h" |
| @@ -21,6 +22,7 @@ class MessageLoop; |
| namespace media { |
| class AudioBus; |
| +struct AudioTimestamp; |
| // Data transfer between browser and render process uses a combination |
| // of sync sockets and shared memory. To read from the socket and render |
| @@ -52,7 +54,8 @@ class MEDIA_EXPORT AudioDeviceThread { |
| virtual void MapSharedMemory() = 0; |
| // Called whenever we receive notifications about pending input data. |
|
hongchan
2016/06/14 17:10:38
Let's expand the comment to reflect the change of
Mikhail
2016/06/17 09:36:57
Done.
|
| - virtual void Process(uint32_t pending_data) = 0; |
| + virtual void Process(uint32_t pending_data, |
| + const AudioTimestamp& timestamp) = 0; |
| protected: |
| // Protected so that derived classes can access directly. |