Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2307533004: Moving/renaming webrtc/common.h. (Closed)
Patch Set: two nits Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698