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 <math.h> | 11 #include <math.h> |
12 #include <stdio.h> | 12 #include <stdio.h> |
| 13 |
| 14 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
13 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" |
14 #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" | |
15 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" | 16 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" |
16 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" | 17 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" |
17 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" | 18 #include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" |
18 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" | 19 #include "webrtc/modules/audio_coding/neteq/tools/resample_input_audio_file.h" |
19 #include "webrtc/test/testsupport/fileutils.h" | 20 #include "webrtc/test/testsupport/fileutils.h" |
20 | 21 |
21 namespace webrtc { | 22 namespace webrtc { |
22 namespace test { | 23 namespace test { |
23 | 24 |
24 const uint8_t kPayloadType = 95; | 25 const uint8_t kPayloadType = 95; |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 } | 432 } |
432 } | 433 } |
433 Log() << "Average bit rate was " | 434 Log() << "Average bit rate was " |
434 << 8.0f * total_payload_size_bytes_ / FLAGS_runtime_ms | 435 << 8.0f * total_payload_size_bytes_ / FLAGS_runtime_ms |
435 << " kbps" | 436 << " kbps" |
436 << std::endl; | 437 << std::endl; |
437 } | 438 } |
438 | 439 |
439 } // namespace test | 440 } // namespace test |
440 } // namespace webrtc | 441 } // namespace webrtc |
OLD | NEW |