| Index: webrtc/modules/audio_coding/neteq/neteq.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq.cc b/webrtc/modules/audio_coding/neteq/neteq.cc
|
| index edc29da4357ab0546275ebb249293b90096798b9..02b674fbb80629e07289752e8acb3fabd4e03061 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq.cc
|
| @@ -32,8 +32,12 @@ std::string NetEq::Config::ToString() const {
|
|
|
| // Creates all classes needed and inject them into a new NetEqImpl object.
|
| // Return the new object.
|
| -NetEq* NetEq::Create(const NetEq::Config& config) {
|
| - return new NetEqImpl(config, NetEqImpl::Dependencies(config));
|
| +NetEq* NetEq::Create(
|
| + const NetEq::Config& config,
|
| + std::shared_ptr<AudioDecoderFactory> decoder_factory) {
|
| + return new NetEqImpl(
|
| + config,
|
| + NetEqImpl::Dependencies(config, std::move(decoder_factory)));
|
| }
|
|
|
| } // namespace webrtc
|
|
|