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

Side by Side Diff: webrtc/modules/audio_coding/neteq/delay_manager.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 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 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
11 #include "webrtc/modules/audio_coding/neteq/delay_manager.h" 11 #include "webrtc/modules/audio_coding/neteq/delay_manager.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 #include <math.h> 14 #include <math.h>
15 15
16 #include <algorithm> // max, min 16 #include <algorithm> // max, min
17 17
18 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h" 18 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar y.h"
19 #include "webrtc/modules/audio_coding/neteq/delay_peak_detector.h" 19 #include "webrtc/modules/audio_coding/neteq/delay_peak_detector.h"
20 #include "webrtc/modules/interface/module_common_types.h" 20 #include "webrtc/modules/interface/module_common_types.h"
21 #include "webrtc/system_wrappers/interface/logging.h" 21 #include "webrtc/system_wrappers/include/logging.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 DelayManager::DelayManager(size_t max_packets_in_buffer, 25 DelayManager::DelayManager(size_t max_packets_in_buffer,
26 DelayPeakDetector* peak_detector) 26 DelayPeakDetector* peak_detector)
27 : first_packet_received_(false), 27 : first_packet_received_(false),
28 max_packets_in_buffer_(max_packets_in_buffer), 28 max_packets_in_buffer_(max_packets_in_buffer),
29 iat_vector_(kMaxIat + 1, 0), 29 iat_vector_(kMaxIat + 1, 0),
30 iat_factor_(0), 30 iat_factor_(0),
31 packet_iat_count_ms_(0), 31 packet_iat_count_ms_(0),
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 int DelayManager::base_target_level() const { return base_target_level_; } 418 int DelayManager::base_target_level() const { return base_target_level_; }
419 void DelayManager::set_streaming_mode(bool value) { streaming_mode_ = value; } 419 void DelayManager::set_streaming_mode(bool value) { streaming_mode_ = value; }
420 int DelayManager::last_pack_cng_or_dtmf() const { 420 int DelayManager::last_pack_cng_or_dtmf() const {
421 return last_pack_cng_or_dtmf_; 421 return last_pack_cng_or_dtmf_;
422 } 422 }
423 423
424 void DelayManager::set_last_pack_cng_or_dtmf(int value) { 424 void DelayManager::set_last_pack_cng_or_dtmf(int value) {
425 last_pack_cng_or_dtmf_ = value; 425 last_pack_cng_or_dtmf_ = value;
426 } 426 }
427 } // namespace webrtc 427 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/decision_logic.cc ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698