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

Unified Diff: webrtc/modules/audio_device/audio_device_buffer.h

Issue 2514553003: Change rtc::TimeNanos and rtc::TimeMicros return value from uint64_t to int64_t. (Closed)
Patch Set: Rebased, on top of fixed BoringSSL TimeCallback.' Created 4 years, 1 month 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 | « webrtc/base/timeutils_unittest.cc ('k') | webrtc/modules/audio_device/audio_device_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/audio_device_buffer.h
diff --git a/webrtc/modules/audio_device/audio_device_buffer.h b/webrtc/modules/audio_device/audio_device_buffer.h
index 167ebd234afcd3a46524a8c38cd4456e296c7db1..e2c6f2871a5fad2f0443ca878c979bddfe2bd899 100644
--- a/webrtc/modules/audio_device/audio_device_buffer.h
+++ b/webrtc/modules/audio_device/audio_device_buffer.h
@@ -220,7 +220,7 @@ class AudioDeviceBuffer {
int16_t max_play_level_ ACCESS_ON(task_queue_);
// Time stamp of last timer task (drives logging).
- uint64_t last_timer_task_time_ ACCESS_ON(task_queue_);
+ int64_t last_timer_task_time_ ACCESS_ON(task_queue_);
// Counts number of audio callbacks modulo 50 to create a signal when
// a new storage of audio stats shall be done.
@@ -228,8 +228,8 @@ class AudioDeviceBuffer {
int16_t play_stat_count_ ACCESS_ON(playout_thread_checker_);
// Time stamps of when playout and recording starts.
- uint64_t play_start_time_ ACCESS_ON(main_thread_checker_);
- uint64_t rec_start_time_ ACCESS_ON(main_thread_checker_);
+ int64_t play_start_time_ ACCESS_ON(main_thread_checker_);
+ int64_t rec_start_time_ ACCESS_ON(main_thread_checker_);
// Set to true at construction and modified to false as soon as one audio-
// level estimate larger than zero is detected.
« no previous file with comments | « webrtc/base/timeutils_unittest.cc ('k') | webrtc/modules/audio_device/audio_device_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698