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 |
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 test.Run(); | 906 test.Run(); |
907 | 907 |
908 std::string checksum_string = checksum.Finish(); | 908 std::string checksum_string = checksum.Finish(); |
909 EXPECT_EQ(checksum_ref, checksum_string); | 909 EXPECT_EQ(checksum_ref, checksum_string); |
910 | 910 |
911 // Delete the output file. | 911 // Delete the output file. |
912 remove(output_file_name.c_str()); | 912 remove(output_file_name.c_str()); |
913 } | 913 } |
914 }; | 914 }; |
915 | 915 |
916 #if (defined(WEBRTC_CODEC_ISAC) || defined(WEBRTC_CODEC_ISAC)) && \ | 916 #if (defined(WEBRTC_CODEC_ISAC) || defined(WEBRTC_CODEC_ISACFX)) && \ |
917 defined(WEBRTC_CODEC_ILBC) && defined(WEBRTC_CODEC_G722) | 917 defined(WEBRTC_CODEC_ILBC) && defined(WEBRTC_CODEC_G722) |
918 #define IF_ALL_CODECS(x) x | 918 #define IF_ALL_CODECS(x) x |
919 #else | 919 #else |
920 #define IF_ALL_CODECS(x) DISABLED_##x | 920 #define IF_ALL_CODECS(x) DISABLED_##x |
921 #endif | 921 #endif |
922 | 922 |
923 // Fails Android ARM64. https://code.google.com/p/webrtc/issues/detail?id=4199 | 923 // Fails Android ARM64. https://code.google.com/p/webrtc/issues/detail?id=4199 |
924 #if defined(WEBRTC_ANDROID) && defined(WEBRTC_ARCH_ARM64) | 924 #if defined(WEBRTC_ANDROID) && defined(WEBRTC_ARCH_ARM64) |
925 #define MAYBE_8kHzOutput DISABLED_8kHzOutput | 925 #define MAYBE_8kHzOutput DISABLED_8kHzOutput |
926 #else | 926 #else |
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1794 Run(16000, 8000, 1000); | 1794 Run(16000, 8000, 1000); |
1795 } | 1795 } |
1796 | 1796 |
1797 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { | 1797 TEST_F(AcmSwitchingOutputFrequencyOldApi, Toggle8KhzTo16Khz) { |
1798 Run(8000, 16000, 1000); | 1798 Run(8000, 16000, 1000); |
1799 } | 1799 } |
1800 | 1800 |
1801 #endif | 1801 #endif |
1802 | 1802 |
1803 } // namespace webrtc | 1803 } // namespace webrtc |
OLD | NEW |