Index: webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
index 4a6f505fc639c4edb0b515f712a471ec0c9237cc..fedf3f6f1f65148ed95fe56c44551f6e86e4b988 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
@@ -24,6 +24,7 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "webrtc/base/sha1digest.h" |
#include "webrtc/base/stringencode.h" |
+#include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" |
#include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" |
#include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" |
#include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" |
@@ -315,7 +316,7 @@ NetEqDecodingTest::NetEqDecodingTest() |
} |
void NetEqDecodingTest::SetUp() { |
- neteq_ = NetEq::Create(config_); |
+ neteq_ = NetEq::Create(config_, CreateBuiltinAudioDecoderFactory()); |
NetEqNetworkStatistics stat; |
ASSERT_EQ(0, neteq_->NetworkStatistics(&stat)); |
algorithmic_delay_ms_ = stat.current_buffer_size_ms; |
@@ -1666,7 +1667,7 @@ class NetEqDecodingTestTwoInstances : public NetEqDecodingTest { |
} |
void CreateSecondInstance() { |
- neteq2_.reset(NetEq::Create(config2_)); |
+ neteq2_.reset(NetEq::Create(config2_, CreateBuiltinAudioDecoderFactory())); |
ASSERT_TRUE(neteq2_); |
LoadDecoders(neteq2_.get()); |
} |