| Index: webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
|
| index b1a07edf1478622645c03225cbb8ad165d5acfa5..8dcb41621748e72fd3a0664185f5fa5ac32613ab 100644
|
| --- a/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc
|
| @@ -404,11 +404,10 @@ class AudioDecoderG722Test : public AudioDecoderTest {
|
| data_length_ = 10 * frame_size_;
|
| decoder_ = new AudioDecoderG722Impl;
|
| assert(decoder_);
|
| - AudioEncoderG722::Config config;
|
| + AudioEncoderG722Config config;
|
| config.frame_size_ms = 10;
|
| - config.payload_type = payload_type_;
|
| config.num_channels = 1;
|
| - audio_encoder_.reset(new AudioEncoderG722(config));
|
| + audio_encoder_.reset(new AudioEncoderG722Impl(config, payload_type_));
|
| }
|
| };
|
|
|
| @@ -421,11 +420,10 @@ class AudioDecoderG722StereoTest : public AudioDecoderTest {
|
| data_length_ = 10 * frame_size_;
|
| decoder_ = new AudioDecoderG722Stereo;
|
| assert(decoder_);
|
| - AudioEncoderG722::Config config;
|
| + AudioEncoderG722Config config;
|
| config.frame_size_ms = 10;
|
| - config.payload_type = payload_type_;
|
| config.num_channels = 2;
|
| - audio_encoder_.reset(new AudioEncoderG722(config));
|
| + audio_encoder_.reset(new AudioEncoderG722Impl(config, payload_type_));
|
| }
|
| };
|
|
|
|
|