Fixing a unittest to allow new Opus version.
New Opus version starts to support 120ms frame lengths. AudioEncoderOpusTest had an unnecessary check on the available frame lengths. It is removed in this CL. BUG=b/35415318 Review-Url: https://codereview.webrtc.org/2731583003 Cr-Commit-Position: refs/heads/master@{#17011}
This commit is contained in:
@ -274,8 +274,6 @@ TEST(AudioEncoderOpusTest, SetReceiverFrameLengthRange) {
|
||||
EXPECT_THAT(states.encoder->supported_frame_lengths_ms(),
|
||||
ElementsAre(states.encoder->next_frame_length_ms()));
|
||||
states.encoder->SetReceiverFrameLengthRange(0, 12345);
|
||||
EXPECT_THAT(states.encoder->supported_frame_lengths_ms(),
|
||||
ElementsAre(20, 60));
|
||||
states.encoder->SetReceiverFrameLengthRange(21, 60);
|
||||
EXPECT_THAT(states.encoder->supported_frame_lengths_ms(), ElementsAre(60));
|
||||
states.encoder->SetReceiverFrameLengthRange(20, 59);
|
||||
|
||||
Reference in New Issue
Block a user