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

Side by Side Diff: webrtc/common_types.h

Issue 1227893002: Update audio code to use size_t more correctly, webrtc/ portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Review comment Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/system_wrappers/interface/aligned_array.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 int32_t clockDriftPPM; 374 int32_t clockDriftPPM;
375 // average packet waiting time in the jitter buffer (ms) 375 // average packet waiting time in the jitter buffer (ms)
376 int meanWaitingTimeMs; 376 int meanWaitingTimeMs;
377 // median packet waiting time in the jitter buffer (ms) 377 // median packet waiting time in the jitter buffer (ms)
378 int medianWaitingTimeMs; 378 int medianWaitingTimeMs;
379 // min packet waiting time in the jitter buffer (ms) 379 // min packet waiting time in the jitter buffer (ms)
380 int minWaitingTimeMs; 380 int minWaitingTimeMs;
381 // max packet waiting time in the jitter buffer (ms) 381 // max packet waiting time in the jitter buffer (ms)
382 int maxWaitingTimeMs; 382 int maxWaitingTimeMs;
383 // added samples in off mode due to packet loss 383 // added samples in off mode due to packet loss
384 int addedSamples; 384 size_t addedSamples;
385 }; 385 };
386 386
387 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). 387 // Statistics for calls to AudioCodingModule::PlayoutData10Ms().
388 struct AudioDecodingCallStats { 388 struct AudioDecodingCallStats {
389 AudioDecodingCallStats() 389 AudioDecodingCallStats()
390 : calls_to_silence_generator(0), 390 : calls_to_silence_generator(0),
391 calls_to_neteq(0), 391 calls_to_neteq(0),
392 decoded_normal(0), 392 decoded_normal(0),
393 decoded_plc(0), 393 decoded_plc(0),
394 decoded_cng(0), 394 decoded_cng(0),
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 class StreamDataCountersCallback { 897 class StreamDataCountersCallback {
898 public: 898 public:
899 virtual ~StreamDataCountersCallback() {} 899 virtual ~StreamDataCountersCallback() {}
900 900
901 virtual void DataCountersUpdated(const StreamDataCounters& counters, 901 virtual void DataCountersUpdated(const StreamDataCounters& counters,
902 uint32_t ssrc) = 0; 902 uint32_t ssrc) = 0;
903 }; 903 };
904 } // namespace webrtc 904 } // namespace webrtc
905 905
906 #endif // WEBRTC_COMMON_TYPES_H_ 906 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/system_wrappers/interface/aligned_array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698