Index: webrtc/video/video_quality_test.h |
diff --git a/webrtc/video/video_quality_test.h b/webrtc/video/video_quality_test.h |
index b1f59e540d880a845f37c4a260d42405a74938fa..35ac3502c8838b381010ac13ef198d72a3e83595 100644 |
--- a/webrtc/video/video_quality_test.h |
+++ b/webrtc/video/video_quality_test.h |
@@ -105,6 +105,9 @@ class VideoQualityTest : public test::CallTest { |
void SetupCommon(Transport* send_transport, Transport* recv_transport); |
void SetupScreenshare(); |
+ void CreateVoiceEngine(); |
+ void DestroyVoiceEngine(); |
+ |
// We need a more general capturer than the FrameGeneratorCapturer. |
std::unique_ptr<test::VideoCapturer> capturer_; |
std::unique_ptr<test::TraceToStderr> trace_to_stderr_; |
@@ -113,6 +116,23 @@ class VideoQualityTest : public test::CallTest { |
VideoCodecUnion codec_settings_; |
Clock* const clock_; |
+ struct VoiceEngineState { |
minyue-webrtc
2016/07/12 10:09:36
I think this, and CreateVoiceEngine/DestroyVoiceEn
|
+ VoiceEngineState() |
+ : voice_engine(nullptr), |
+ base(nullptr), |
+ codec(nullptr), |
+ send_channel_id(-1), |
+ receive_channel_id(-1) {} |
+ |
+ VoiceEngine* voice_engine; |
+ VoEBase* base; |
+ VoECodec* codec; |
+ int send_channel_id; |
+ int receive_channel_id; |
+ }; |
+ VoiceEngineState voe_; |
+ std::unique_ptr<test::FakeAudioDevice> fake_audio_device_; |
+ |
Params params_; |
}; |