diff --git a/resources/audio_coding/neteq4_universal_ref_win_32.pcm.sha1 b/resources/audio_coding/neteq4_universal_ref_win_32.pcm.sha1 index f899483aa1..cc441d56f1 100644 --- a/resources/audio_coding/neteq4_universal_ref_win_32.pcm.sha1 +++ b/resources/audio_coding/neteq4_universal_ref_win_32.pcm.sha1 @@ -1 +1 @@ -eb60f83b0db65826622c390e8d2e688345aff1dd \ No newline at end of file +49d12cf21b37f2da3f52cf2ab76ecb08adbb2a69 \ No newline at end of file diff --git a/resources/audio_coding/neteq4_universal_ref_win_64.pcm.sha1 b/resources/audio_coding/neteq4_universal_ref_win_64.pcm.sha1 new file mode 100644 index 0000000000..3a97d9909b --- /dev/null +++ b/resources/audio_coding/neteq4_universal_ref_win_64.pcm.sha1 @@ -0,0 +1 @@ +84972ecea6a0bf85b873f109c88697eab44cedd3 \ No newline at end of file diff --git a/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc index 9103436190..f66a3cfae5 100644 --- a/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc +++ b/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc @@ -524,25 +524,14 @@ void NetEqDecodingTest::CheckBgnOff(int sampling_rate_hz, EXPECT_TRUE(plc_to_cng); // Just to be sure that PLC-to-CNG has occurred. } -#if defined(_WIN32) && defined(WEBRTC_ARCH_64_BITS) -// Disabled for Windows 64-bit until webrtc:1458 is fixed. -#define MAYBE_TestBitExactness DISABLED_TestBitExactness -#else -#define MAYBE_TestBitExactness TestBitExactness -#endif - -TEST_F(NetEqDecodingTest, DISABLED_ON_ANDROID(MAYBE_TestBitExactness)) { +TEST_F(NetEqDecodingTest, DISABLED_ON_ANDROID(TestBitExactness)) { const std::string input_rtp_file = webrtc::test::ProjectRootPath() + "resources/audio_coding/neteq_universal_new.rtp"; -#if defined(_MSC_VER) && (_MSC_VER >= 1700) - // For Visual Studio 2012 and later, we will have to use the generic reference - // file, rather than the windows-specific one. - const std::string input_ref_file = webrtc::test::ProjectRootPath() + - "resources/audio_coding/neteq4_universal_ref.pcm"; -#else + // Note that neteq4_universal_ref.pcm and neteq4_universal_ref_win_32.pcm + // are identical. The latter could have been removed, but if clients still + // have a copy of the file, the test will fail. const std::string input_ref_file = webrtc::test::ResourcePath("audio_coding/neteq4_universal_ref", "pcm"); -#endif if (FLAGS_gen_ref) { DecodeAndCompare(input_rtp_file, ""); diff --git a/webrtc/modules/modules_unittests.isolate b/webrtc/modules/modules_unittests.isolate index 054d430eac..57d1307052 100644 --- a/webrtc/modules/modules_unittests.isolate +++ b/webrtc/modules/modules_unittests.isolate @@ -38,6 +38,8 @@ '../../resources/audio_coding/neteq4_network_stats.dat', '../../resources/audio_coding/neteq4_rtcp_stats.dat', '../../resources/audio_coding/neteq4_universal_ref.pcm', + '../../resources/audio_coding/neteq4_universal_ref_win_32.pcm', + '../../resources/audio_coding/neteq4_universal_ref_win_64.pcm', '../../resources/audio_coding/neteq_network_stats.dat', '../../resources/audio_coding/neteq_rtcp_stats.dat', '../../resources/audio_coding/neteq_universal_new.rtp',