Index: webrtc/base/bandwidthsmoother.h |
diff --git a/webrtc/base/bandwidthsmoother.h b/webrtc/base/bandwidthsmoother.h |
index dbb4c81558e63a2b3634dd745b04c459f9e474a3..eae565ead3763b54ced0b777e1c7ad82721da94a 100644 |
--- a/webrtc/base/bandwidthsmoother.h |
+++ b/webrtc/base/bandwidthsmoother.h |
@@ -31,7 +31,7 @@ namespace rtc { |
class BandwidthSmoother { |
public: |
BandwidthSmoother(int initial_bandwidth_guess, |
- uint32 time_between_increase, |
+ uint32_t time_between_increase, |
double percent_increase, |
size_t samples_count_to_average, |
double min_sample_count_percent); |
@@ -40,16 +40,16 @@ class BandwidthSmoother { |
// Samples a new bandwidth measurement. |
// bandwidth is expected to be non-negative. |
// returns true if the bandwidth estimation changed |
- bool Sample(uint32 sample_time, int bandwidth); |
+ bool Sample(uint32_t sample_time, int bandwidth); |
int get_bandwidth_estimation() const { |
return bandwidth_estimation_; |
} |
private: |
- uint32 time_between_increase_; |
+ uint32_t time_between_increase_; |
double percent_increase_; |
- uint32 time_at_last_change_; |
+ uint32_t time_at_last_change_; |
int bandwidth_estimation_; |
RollingAccumulator<int> accumulator_; |
double min_sample_count_percent_; |