| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 <errno.h> | 11 #include <errno.h> |
| 12 #include <inttypes.h> | 12 #include <inttypes.h> |
| 13 #include <limits.h> // For ULONG_MAX returned by strtoul. | 13 #include <limits.h> // For ULONG_MAX returned by strtoul. |
| 14 #include <stdio.h> | 14 #include <stdio.h> |
| 15 #include <stdlib.h> // For strtoul. | 15 #include <stdlib.h> // For strtoul. |
| 16 | 16 |
| 17 #include <algorithm> | 17 #include <algorithm> |
| 18 #include <ios> | 18 #include <ios> |
| 19 #include <iostream> | 19 #include <iostream> |
| 20 #include <memory> | 20 #include <memory> |
| 21 #include <numeric> | 21 #include <numeric> |
| 22 #include <string> | 22 #include <string> |
| 23 | 23 |
| 24 #include "gflags/gflags.h" | 24 #include "gflags/gflags.h" |
| 25 #include "webrtc/base/checks.h" | |
| 26 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" | 25 #include "webrtc/modules/audio_coding/neteq/include/neteq.h" |
| 27 #include "webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h" | 26 #include "webrtc/modules/audio_coding/neteq/tools/fake_decode_from_file.h" |
| 28 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" | 27 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" |
| 29 #include "webrtc/modules/audio_coding/neteq/tools/neteq_delay_analyzer.h" | 28 #include "webrtc/modules/audio_coding/neteq/tools/neteq_delay_analyzer.h" |
| 30 #include "webrtc/modules/audio_coding/neteq/tools/neteq_packet_source_input.h" | 29 #include "webrtc/modules/audio_coding/neteq/tools/neteq_packet_source_input.h" |
| 31 #include "webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h" | 30 #include "webrtc/modules/audio_coding/neteq/tools/neteq_replacement_input.h" |
| 32 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" | 31 #include "webrtc/modules/audio_coding/neteq/tools/neteq_test.h" |
| 33 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" | 32 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" |
| 34 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" | 33 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" |
| 35 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" | 34 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" |
| 36 #include "webrtc/modules/include/module_common_types.h" | 35 #include "webrtc/modules/include/module_common_types.h" |
| 36 #include "webrtc/rtc_base/checks.h" |
| 37 #include "webrtc/test/testsupport/fileutils.h" | 37 #include "webrtc/test/testsupport/fileutils.h" |
| 38 #include "webrtc/typedefs.h" | 38 #include "webrtc/typedefs.h" |
| 39 | 39 |
| 40 namespace webrtc { | 40 namespace webrtc { |
| 41 namespace test { | 41 namespace test { |
| 42 namespace { | 42 namespace { |
| 43 | 43 |
| 44 // Parses the input string for a valid SSRC (at the start of the string). If a | 44 // Parses the input string for a valid SSRC (at the start of the string). If a |
| 45 // valid SSRC is found, it is written to the output variable |ssrc|, and true is | 45 // valid SSRC is found, it is written to the output variable |ssrc|, and true is |
| 46 // returned. Otherwise, false is returned. | 46 // returned. Otherwise, false is returned. |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 return 0; | 660 return 0; |
| 661 } | 661 } |
| 662 | 662 |
| 663 } // namespace | 663 } // namespace |
| 664 } // namespace test | 664 } // namespace test |
| 665 } // namespace webrtc | 665 } // namespace webrtc |
| 666 | 666 |
| 667 int main(int argc, char* argv[]) { | 667 int main(int argc, char* argv[]) { |
| 668 webrtc::test::RunTest(argc, argv); | 668 webrtc::test::RunTest(argc, argv); |
| 669 } | 669 } |
| OLD | NEW |