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

Unified Diff: webrtc/pc/currentspeakermonitor.h

Issue 1835053002: Change default timestamp to 64 bits in all webrtc directories. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 9 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
Index: webrtc/pc/currentspeakermonitor.h
diff --git a/webrtc/pc/currentspeakermonitor.h b/webrtc/pc/currentspeakermonitor.h
index 5ca68ae941634093b9968042fef9553ed9f8ffba..cbbaf6f1f8a2171695da036d23d2f33302a5c41b 100644
--- a/webrtc/pc/currentspeakermonitor.h
+++ b/webrtc/pc/currentspeakermonitor.h
@@ -54,7 +54,7 @@ class CurrentSpeakerMonitor : public sigslot::has_slots<> {
// Used by tests. Note that the actual minimum time between switches
// enforced by the monitor will be the given value plus or minus the
// resolution of the system clock.
- void set_min_time_between_switches(uint32_t min_time_between_switches);
+ void set_min_time_between_switches(int min_time_between_switches);
// This is fired when the current speaker changes, and provides his audio
// SSRC. This only fires after the audio monitor on the underlying
@@ -86,8 +86,8 @@ class CurrentSpeakerMonitor : public sigslot::has_slots<> {
uint32_t current_speaker_ssrc_;
// To prevent overswitching, switching is disabled for some time after a
// switch is made. This gives us the earliest time a switch is permitted.
- uint32_t earliest_permitted_switch_time_;
- uint32_t min_time_between_switches_;
+ int64_t earliest_permitted_switch_time_;
+ int min_time_between_switches_;
};
}

Powered by Google App Engine
This is Rietveld 408576698