| OLD | NEW |
| 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ |
| 13 | 13 |
| 14 #include <string.h> // Provide access to size_t. | 14 #include <string.h> // Provide access to size_t. |
| 15 | 15 |
| 16 #include <memory> | 16 #include <memory> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/base/constructormagic.h" |
| 19 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" | 20 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" |
| 20 #include "webrtc/modules/audio_coding/neteq/tick_timer.h" | 21 #include "webrtc/modules/audio_coding/neteq/tick_timer.h" |
| 21 #include "webrtc/rtc_base/constructormagic.h" | |
| 22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 | 25 |
| 26 // Forward declaration. | 26 // Forward declaration. |
| 27 class DelayPeakDetector; | 27 class DelayPeakDetector; |
| 28 | 28 |
| 29 class DelayManager { | 29 class DelayManager { |
| 30 public: | 30 public: |
| 31 typedef std::vector<int> IATVector; | 31 typedef std::vector<int> IATVector; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // Time elapsed since maximum was observed. | 165 // Time elapsed since maximum was observed. |
| 166 std::unique_ptr<TickTimer::Stopwatch> max_iat_stopwatch_; | 166 std::unique_ptr<TickTimer::Stopwatch> max_iat_stopwatch_; |
| 167 DelayPeakDetector& peak_detector_; | 167 DelayPeakDetector& peak_detector_; |
| 168 int last_pack_cng_or_dtmf_; | 168 int last_pack_cng_or_dtmf_; |
| 169 | 169 |
| 170 RTC_DISALLOW_COPY_AND_ASSIGN(DelayManager); | 170 RTC_DISALLOW_COPY_AND_ASSIGN(DelayManager); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace webrtc | 173 } // namespace webrtc |
| 174 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ | 174 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DELAY_MANAGER_H_ |
| OLD | NEW |