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 e3029dba8d5de886270b97934b987bbb50d87785..24a07806094824f8941cc7e27391e13df41d92ef 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
@@ -275,7 +275,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. |
@@ -313,9 +313,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)); |
@@ -323,9 +320,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)) |