| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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_TOOLS_NETEQ_DELAY_ANALYZER_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ | 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <set> | 15 #include <set> |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/api/optional.h" |
| 19 #include "webrtc/modules/audio_coding/neteq/tools/neteq_input.h" | 20 #include "webrtc/modules/audio_coding/neteq/tools/neteq_input.h" |
| 20 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" | 21 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" |
| 21 #include "webrtc/rtc_base/optional.h" | |
| 22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 namespace test { | 25 namespace test { |
| 26 | 26 |
| 27 class NetEqDelayAnalyzer : public test::NetEqPostInsertPacket, | 27 class NetEqDelayAnalyzer : public test::NetEqPostInsertPacket, |
| 28 public test::NetEqGetAudioCallback { | 28 public test::NetEqGetAudioCallback { |
| 29 public: | 29 public: |
| 30 void AfterInsertPacket(const test::NetEqInput::PacketData& packet, | 30 void AfterInsertPacket(const test::NetEqInput::PacketData& packet, |
| 31 NetEq* neteq) override; | 31 NetEq* neteq) override; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 62 size_t get_audio_count_ = 0; | 62 size_t get_audio_count_ = 0; |
| 63 size_t last_sync_buffer_ms_ = 0; | 63 size_t last_sync_buffer_ms_ = 0; |
| 64 int last_sample_rate_hz_ = 0; | 64 int last_sample_rate_hz_ = 0; |
| 65 std::set<uint32_t> ssrcs_; | 65 std::set<uint32_t> ssrcs_; |
| 66 std::set<int> payload_types_; | 66 std::set<int> payload_types_; |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace test | 69 } // namespace test |
| 70 } // namespace webrtc | 70 } // namespace webrtc |
| 71 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ | 71 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_TOOLS_NETEQ_DELAY_ANALYZER_H_ |
| OLD | NEW |