Index: webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
index 2983cebe9d442edee5f8c6942c4c1aca3e71fbeb..d2379f09e08fe68c740e8913a767df99df1b8c7f 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc |
@@ -11,6 +11,7 @@ |
#include <math.h> |
#include <stdio.h> |
#include "webrtc/base/checks.h" |
+#include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h" |
#include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" |
#include "webrtc/modules/audio_coding/neteq/tools/output_audio_file.h" |
#include "webrtc/modules/audio_coding/neteq/tools/output_wav_file.h" |
@@ -245,7 +246,8 @@ NetEqQualityTest::NetEqQualityTest(int block_duration_ms, |
NetEq::Config config; |
config.sample_rate_hz = out_sampling_khz_ * 1000; |
- neteq_.reset(NetEq::Create(config)); |
+ neteq_.reset( |
+ NetEq::Create(config, webrtc::CreateBuiltinAudioDecoderFactory())); |
max_payload_bytes_ = in_size_samples_ * channels_ * sizeof(int16_t); |
in_data_.reset(new int16_t[in_size_samples_ * channels_]); |
} |