Index: webrtc/media/base/fakemediaengine.h |
diff --git a/webrtc/media/base/fakemediaengine.h b/webrtc/media/base/fakemediaengine.h |
index af05144b529e0424a4a8b89f618470f69a26e01e..41b92acd1cc856669b9acbabf45fdca20997aa5d 100644 |
--- a/webrtc/media/base/fakemediaengine.h |
+++ b/webrtc/media/base/fakemediaengine.h |
@@ -682,13 +682,13 @@ class FakeBaseEngine { |
class FakeVoiceEngine : public FakeBaseEngine { |
public: |
- FakeVoiceEngine() |
+ explicit FakeVoiceEngine(webrtc::AudioDeviceModule* adm) |
: output_volume_(-1) { |
// Add a fake audio codec. Note that the name must not be "" as there are |
// sanity checks against that. |
codecs_.push_back(AudioCodec(101, "fake_audio_codec", 0, 0, 1, 0)); |
} |
- bool Init(rtc::Thread* worker_thread) { return true; } |
+ bool Init() { return true; } |
void Terminate() {} |
rtc::scoped_refptr<webrtc::AudioState> GetAudioState() const { |
return rtc::scoped_refptr<webrtc::AudioState>(); |
@@ -796,7 +796,8 @@ class FakeVideoEngine : public FakeBaseEngine { |
class FakeMediaEngine : |
public CompositeMediaEngine<FakeVoiceEngine, FakeVideoEngine> { |
public: |
- FakeMediaEngine() {} |
+ FakeMediaEngine() : |
+ CompositeMediaEngine<FakeVoiceEngine, FakeVideoEngine>(nullptr) {} |
virtual ~FakeMediaEngine() {} |
void SetAudioCodecs(const std::vector<AudioCodec>& codecs) { |