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

Unified Diff: media/audio/audio_device_thread.h

Issue 2452183003: Revert of Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.cc ('k') | media/audio/audio_device_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_device_thread.h
diff --git a/media/audio/audio_device_thread.h b/media/audio/audio_device_thread.h
index 43cc160836a1e30598fa677d58560b62486d8d6d..f3287ef39ccf86705642dc5439f7b13860737f1d 100644
--- a/media/audio/audio_device_thread.h
+++ b/media/audio/audio_device_thread.h
@@ -42,8 +42,7 @@
virtual void MapSharedMemory() = 0;
// Called whenever we receive notifications about pending input data.
- virtual void Process(int64_t pending_data,
- base::TimeTicks data_timestamp) = 0;
+ virtual void Process(uint32_t pending_data) = 0;
protected:
virtual ~Callback();
@@ -76,12 +75,6 @@
// 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;
« no previous file with comments | « content/renderer/media/webrtc_audio_renderer.cc ('k') | media/audio/audio_device_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698