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 <string.h> | 11 #include <string.h> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 #include "webrtc/base/md5digest.h" | 15 #include "webrtc/base/md5digest.h" |
16 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
17 #include "webrtc/base/thread_annotations.h" | 17 #include "webrtc/base/thread_annotations.h" |
18 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" | 18 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" |
19 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_decoder_pcm.h" | 19 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_decoder_pcm.h" |
20 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h" | 20 #include "webrtc/modules/audio_coding/codecs/g711/include/audio_encoder_pcm.h" |
21 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/audio_encoder_i
sac.h" | 21 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isa
c.h" |
22 #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" | 22 #include "webrtc/modules/audio_coding/codecs/mock/mock_audio_encoder.h" |
23 #include "webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.h" | 23 #include "webrtc/modules/audio_coding/main/acm2/acm_receive_test_oldapi.h" |
24 #include "webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.h" | 24 #include "webrtc/modules/audio_coding/main/acm2/acm_send_test_oldapi.h" |
25 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" | 25 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
26 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef
s.h" | 26 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs.
h" |
27 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" | 27 #include "webrtc/modules/audio_coding/neteq/audio_decoder_impl.h" |
28 #include "webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h" | 28 #include "webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h" |
29 #include "webrtc/modules/audio_coding/neteq/tools/audio_checksum.h" | 29 #include "webrtc/modules/audio_coding/neteq/tools/audio_checksum.h" |
30 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" | 30 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" |
31 #include "webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.h" | 31 #include "webrtc/modules/audio_coding/neteq/tools/constant_pcm_packet_source.h" |
32 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" | 32 #include "webrtc/modules/audio_coding/neteq/tools/input_audio_file.h" |
33 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" | 33 #include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" |
34 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" | 34 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" |
35 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" | 35 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" |
36 #include "webrtc/modules/interface/module_common_types.h" | 36 #include "webrtc/modules/interface/module_common_types.h" |
(...skipping 1746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1783 Run(16000, 8000, 1000); | 1783 Run(16000, 8000, 1000); |
1784 } | 1784 } |
1785 | 1785 |
1786 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { | 1786 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { |
1787 Run(8000, 16000, 1000); | 1787 Run(8000, 16000, 1000); |
1788 } | 1788 } |
1789 | 1789 |
1790 #endif | 1790 #endif |
1791 | 1791 |
1792 } // namespace webrtc | 1792 } // namespace webrtc |
OLD | NEW |