Index: webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
index 4c3f215c9e87b541d21d1ddec7159d0cea25dc5d..4906fd62f193028d88068ee7daa883a50eacdf68 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
@@ -269,7 +269,7 @@ TEST_F(NetEqImplTest, InsertPacket) { |
*dec = std::move(mock_decoder); |
})); |
- DecoderDatabase::DecoderInfo info(NetEqDecoder::kDecoderPCMu, "", |
+ DecoderDatabase::DecoderInfo info(NetEqDecoder::kDecoderPCMu, |
mock_decoder_factory); |
// Expectations for decoder database. |
@@ -307,9 +307,6 @@ TEST_F(NetEqImplTest, InsertPacket) { |
// All expectations within this block must be called in this specific order. |
InSequence sequence; // Dummy variable. |
// Expectations when the first packet is inserted. |
- EXPECT_CALL(*mock_delay_manager_, |
- LastDecoderType(NetEqDecoder::kDecoderPCMu)) |
- .Times(1); |
EXPECT_CALL(*mock_delay_manager_, last_pack_cng_or_dtmf()) |
.Times(2) |
.WillRepeatedly(Return(-1)); |
@@ -317,9 +314,6 @@ TEST_F(NetEqImplTest, InsertPacket) { |
.Times(1); |
EXPECT_CALL(*mock_delay_manager_, ResetPacketIatCount()).Times(1); |
// Expectations when the second packet is inserted. Slightly different. |
- EXPECT_CALL(*mock_delay_manager_, |
- LastDecoderType(NetEqDecoder::kDecoderPCMu)) |
- .Times(1); |
EXPECT_CALL(*mock_delay_manager_, last_pack_cng_or_dtmf()) |
.WillOnce(Return(0)); |
EXPECT_CALL(*mock_delay_manager_, SetPacketAudioLength(30)) |