OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 #define MAYBE_TestBitExactness TestBitExactness | 455 #define MAYBE_TestBitExactness TestBitExactness |
456 #else | 456 #else |
457 #define MAYBE_TestBitExactness DISABLED_TestBitExactness | 457 #define MAYBE_TestBitExactness DISABLED_TestBitExactness |
458 #endif | 458 #endif |
459 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { | 459 TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { |
460 const std::string input_rtp_file = | 460 const std::string input_rtp_file = |
461 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp"); | 461 webrtc::test::ResourcePath("audio_coding/neteq_universal_new", "rtp"); |
462 | 462 |
463 const std::string output_checksum = PlatformChecksum( | 463 const std::string output_checksum = PlatformChecksum( |
464 "472ebe1126f41fdb6b5c63c87f625a52e7604e49", | 464 "472ebe1126f41fdb6b5c63c87f625a52e7604e49", |
465 "d2a6b6ff54b340cf9f961c7f07768d86b3761073", | 465 "36f6fc87c05de077e998173b46b83524de5e8fc2", |
466 "472ebe1126f41fdb6b5c63c87f625a52e7604e49", | 466 "472ebe1126f41fdb6b5c63c87f625a52e7604e49", |
467 "f9749813dbc3fb59dae761de518fec65b8407c5b"); | 467 "f9749813dbc3fb59dae761de518fec65b8407c5b"); |
468 | 468 |
469 const std::string network_stats_checksum = PlatformChecksum( | 469 const std::string network_stats_checksum = PlatformChecksum( |
470 "2cf380a05ee07080bd72471e8ec7777a39644ec9", | 470 "2cf380a05ee07080bd72471e8ec7777a39644ec9", |
471 "01be67dc4c3b8e74743a45cbd8684c0535dec9ad", | 471 "f50795e25ec2bab2d418c694ab088012776fd450", |
472 "2cf380a05ee07080bd72471e8ec7777a39644ec9", | 472 "2cf380a05ee07080bd72471e8ec7777a39644ec9", |
473 "2cf380a05ee07080bd72471e8ec7777a39644ec9"); | 473 "2cf380a05ee07080bd72471e8ec7777a39644ec9"); |
474 | 474 |
475 const std::string rtcp_stats_checksum = PlatformChecksum( | 475 const std::string rtcp_stats_checksum = PlatformChecksum( |
476 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", | 476 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", |
477 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4", | 477 "f3f7b3d3e71d7e635240b5373b57df6a7e4ce9d4", |
478 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", | 478 "b8880bf9fed2487efbddcb8d94b9937a29ae521d", |
479 "b8880bf9fed2487efbddcb8d94b9937a29ae521d"); | 479 "b8880bf9fed2487efbddcb8d94b9937a29ae521d"); |
480 | 480 |
481 DecodeAndCompare(input_rtp_file, | 481 DecodeAndCompare(input_rtp_file, |
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 if (muted) { | 1779 if (muted) { |
1780 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2)); | 1780 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2)); |
1781 } else { | 1781 } else { |
1782 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2)); | 1782 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2)); |
1783 } | 1783 } |
1784 } | 1784 } |
1785 EXPECT_FALSE(muted); | 1785 EXPECT_FALSE(muted); |
1786 } | 1786 } |
1787 | 1787 |
1788 } // namespace webrtc | 1788 } // namespace webrtc |
OLD | NEW |