| Index: media/audio/audio_device_thread.h
|
| diff --git a/media/audio/audio_device_thread.h b/media/audio/audio_device_thread.h
|
| index f3287ef39ccf86705642dc5439f7b13860737f1d..43cc160836a1e30598fa677d58560b62486d8d6d 100644
|
| --- a/media/audio/audio_device_thread.h
|
| +++ b/media/audio/audio_device_thread.h
|
| @@ -42,7 +42,8 @@ class MEDIA_EXPORT AudioDeviceThread : public base::PlatformThread::Delegate {
|
| virtual void MapSharedMemory() = 0;
|
|
|
| // Called whenever we receive notifications about pending input data.
|
| - virtual void Process(uint32_t pending_data) = 0;
|
| + virtual void Process(int64_t pending_data,
|
| + base::TimeTicks data_timestamp) = 0;
|
|
|
| protected:
|
| virtual ~Callback();
|
| @@ -75,6 +76,12 @@ class MEDIA_EXPORT AudioDeviceThread : public base::PlatformThread::Delegate {
|
| // synchronous process and the thread will stop before the method returns.
|
| ~AudioDeviceThread() override;
|
|
|
| + // Represents a data packet to be received via the socket.
|
| + struct Packet {
|
| + int64_t pending_data;
|
| + int64_t data_timestamp_us;
|
| + };
|
| +
|
| private:
|
| void ThreadMain() final;
|
|
|
|
|