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 <stdio.h> | 11 #include <stdio.h> |
12 #include <string.h> | 12 #include <string.h> |
13 #include <memory> | 13 #include <memory> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "webrtc/test/gtest.h" |
17 #include "webrtc/base/criticalsection.h" | 17 #include "webrtc/base/criticalsection.h" |
18 #include "webrtc/base/md5digest.h" | 18 #include "webrtc/base/md5digest.h" |
19 #include "webrtc/base/platform_thread.h" | 19 #include "webrtc/base/platform_thread.h" |
20 #include "webrtc/base/thread_annotations.h" | 20 #include "webrtc/base/thread_annotations.h" |
21 #include "webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.h" | 21 #include "webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.h" |
22 #include "webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.h" | 22 #include "webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.h" |
23 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" | 23 #include "webrtc/modules/audio_coding/codecs/audio_encoder.h" |
24 #include "webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h" | 24 #include "webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h" |
25 #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" | 25 #include "webrtc/modules/audio_coding/codecs/g711/audio_encoder_pcm.h" |
26 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isa
c.h" | 26 #include "webrtc/modules/audio_coding/codecs/isac/main/include/audio_encoder_isa
c.h" |
(...skipping 1778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 Run(16000, 8000, 1000); | 1805 Run(16000, 8000, 1000); |
1806 } | 1806 } |
1807 | 1807 |
1808 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { | 1808 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { |
1809 Run(8000, 16000, 1000); | 1809 Run(8000, 16000, 1000); |
1810 } | 1810 } |
1811 | 1811 |
1812 #endif | 1812 #endif |
1813 | 1813 |
1814 } // namespace webrtc | 1814 } // namespace webrtc |
OLD | NEW |