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

Side by Side Diff: webrtc/common_types.h

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 3 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
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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 class StreamDataCountersCallback { 900 class StreamDataCountersCallback {
901 public: 901 public:
902 virtual ~StreamDataCountersCallback() {} 902 virtual ~StreamDataCountersCallback() {}
903 903
904 virtual void DataCountersUpdated(const StreamDataCounters& counters, 904 virtual void DataCountersUpdated(const StreamDataCounters& counters,
905 uint32_t ssrc) = 0; 905 uint32_t ssrc) = 0;
906 }; 906 };
907 } // namespace webrtc 907 } // namespace webrtc
908 908
909 #endif // WEBRTC_COMMON_TYPES_H_ 909 #endif // WEBRTC_COMMON_TYPES_H_
OLDNEW
« no previous file with comments | « webrtc/common_audio/window_generator.cc ('k') | webrtc/modules/audio_coding/codecs/audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698