Keep old checksums for older version of opus

Bug: b/247070183
Change-Id: I9731ba64b9334bd51ae69f8468c987de7824a7b0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275764
Auto-Submit: Christoffer Jansson <jansson@webrtc.org>
Commit-Queue: Christoffer Jansson <jansson@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38112}
This commit is contained in:
Christoffer Jansson
2022-09-19 08:39:12 +02:00
committed by WebRTC LUCI CQ
parent 6432576a6b
commit 1306ad4bd7
2 changed files with 6 additions and 4 deletions

View File

@ -1250,10 +1250,14 @@ TEST_F(AcmSenderBitExactnessNewApi, OpusFromFormat_stereo_20ms_voip) {
AudioEncoderOpus::MakeAudioEncoder(*config, 120), 120));
const std::string audio_maybe_sse =
"1010e60ad34cee73c939edaf563d0593"
"|c05b4523d4c3fad2bab96d2a56baa2d0"
"|ca54661b220cc35239c6864ab858d29a";
const std::string payload_maybe_sse =
"ea48d94e43217793af9b7e15ece94e54"
"|bd93c492087093daf662cdd968f6cdda"
"|eb0752ce1b6f2436fefc2e19bd084fb5";
Run(audio_maybe_sse, payload_maybe_sse, /*expected_packets=*/50,
/*expected_channels=*/test::AcmReceiveTestOldApi::kStereoOutput);
}

View File

@ -76,10 +76,9 @@ TEST_F(NetEqDecodingTest, MAYBE_TestOpusBitExactness) {
const std::string input_rtp_file =
webrtc::test::ResourcePath("audio_coding/neteq_opus", "rtp");
// The checksum depends on SSE being enabled, the second part is the non-SSE
// checksum.
const std::string output_checksum =
"fec6827bb9ee0b21770bbbb4a3a6f8823bf537dc|"
"3610cc7be4b3407b9c273b1299ab7f8f47cca96b|"
"c5eb0a8fcf7e8255a40f821cb815e1096619efeb";
const std::string network_stats_checksum =
@ -100,10 +99,9 @@ TEST_F(NetEqDecodingTest, MAYBE_TestOpusDtxBitExactness) {
const std::string input_rtp_file =
webrtc::test::ResourcePath("audio_coding/neteq_opus_dtx", "rtp");
// The checksum depends on SSE being enabled, the second part is the non-SSE
// checksum.
const std::string output_checksum =
"b3c4899eab5378ef5e54f2302948872149f6ad5e|"
"589e975ec31ea13f302457fea1425be9380ffb96|"
"e97e32a77355e7ce46a2dc2f43bf1c2805530fcb";
const std::string network_stats_checksum =