| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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/tools/neteq_performance_test.h" | 11 #include "webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.h" |
| 12 | 12 |
| 13 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
| 13 #include "webrtc/base/checks.h" | 14 #include "webrtc/base/checks.h" |
| 14 #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" | |
| 15 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" | 15 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" |
| 16 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 16 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
| 17 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" | 17 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" |
| 18 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" | 18 #include "webrtc/modules/audio_coding/neteq/tools/rtp_generator.h" |
| 19 #include "webrtc/modules/include/module_common_types.h" | 19 #include "webrtc/modules/include/module_common_types.h" |
| 20 #include "webrtc/system_wrappers/include/clock.h" | 20 #include "webrtc/system_wrappers/include/clock.h" |
| 21 #include "webrtc/test/testsupport/fileutils.h" | 21 #include "webrtc/test/testsupport/fileutils.h" |
| 22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| 23 | 23 |
| 24 using webrtc::NetEq; | 24 using webrtc::NetEq; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 drift_flipped = true; | 124 drift_flipped = true; |
| 125 } | 125 } |
| 126 } | 126 } |
| 127 int64_t end_time_ms = clock->TimeInMilliseconds(); | 127 int64_t end_time_ms = clock->TimeInMilliseconds(); |
| 128 delete neteq; | 128 delete neteq; |
| 129 return end_time_ms - start_time_ms; | 129 return end_time_ms - start_time_ms; |
| 130 } | 130 } |
| 131 | 131 |
| 132 } // namespace test | 132 } // namespace test |
| 133 } // namespace webrtc | 133 } // namespace webrtc |
| OLD | NEW |