Index: webrtc/video/video_quality_test.cc |
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc |
index baccc71b39ef534d859011032c92b5a4e8895a20..aa1c9b17289df15cd9d698ea130bc494fdd20289 100644 |
--- a/webrtc/video/video_quality_test.cc |
+++ b/webrtc/video/video_quality_test.cc |
@@ -70,9 +70,9 @@ void CreateVoiceEngine(VoiceEngineState* voe, |
voe->base = webrtc::VoEBase::GetInterface(voe->voice_engine); |
voe->codec = webrtc::VoECodec::GetInterface(voe->voice_engine); |
EXPECT_EQ(0, voe->base->Init(nullptr, nullptr, decoder_factory)); |
- webrtc::Config voe_config; |
- voe_config.Set<webrtc::VoicePacing>(new webrtc::VoicePacing(true)); |
- voe->send_channel_id = voe->base->CreateChannel(voe_config); |
+ webrtc::VoEBase::ChannelConfig config; |
+ config.enable_voice_pacing = true; |
+ voe->send_channel_id = voe->base->CreateChannel(config); |
EXPECT_GE(voe->send_channel_id, 0); |
voe->receive_channel_id = voe->base->CreateChannel(); |
EXPECT_GE(voe->receive_channel_id, 0); |