| Index: webrtc/media/base/fakemediaengine.h
|
| diff --git a/webrtc/media/base/fakemediaengine.h b/webrtc/media/base/fakemediaengine.h
|
| index 784967ac4f0d8db5c9b89c0890995fe9de97031a..9ca128d7599d4b5c7b0272a46dc589f4d305ada3 100644
|
| --- a/webrtc/media/base/fakemediaengine.h
|
| +++ b/webrtc/media/base/fakemediaengine.h
|
| @@ -739,8 +739,7 @@ class FakeVoiceEngine : public FakeBaseEngine {
|
| FakeVoiceEngine(
|
| webrtc::AudioDeviceModule* adm,
|
| const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
|
| - audio_decoder_factory)
|
| - : output_volume_(-1) {
|
| + audio_decoder_factory) {
|
| // 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));
|
| @@ -770,15 +769,6 @@ class FakeVoiceEngine : public FakeBaseEngine {
|
| const std::vector<AudioCodec>& codecs() { return codecs_; }
|
| void SetCodecs(const std::vector<AudioCodec> codecs) { codecs_ = codecs; }
|
|
|
| - bool GetOutputVolume(int* level) {
|
| - *level = output_volume_;
|
| - return true;
|
| - }
|
| - bool SetOutputVolume(int level) {
|
| - output_volume_ = level;
|
| - return true;
|
| - }
|
| -
|
| int GetInputLevel() { return 0; }
|
|
|
| bool StartAecDump(rtc::PlatformFile file, int64_t max_size_bytes) {
|
| @@ -796,7 +786,6 @@ class FakeVoiceEngine : public FakeBaseEngine {
|
| private:
|
| std::vector<FakeVoiceMediaChannel*> channels_;
|
| std::vector<AudioCodec> codecs_;
|
| - int output_volume_;
|
|
|
| friend class FakeMediaEngine;
|
| };
|
| @@ -890,7 +879,6 @@ class FakeMediaEngine :
|
| return video_.GetChannel(index);
|
| }
|
|
|
| - int output_volume() const { return voice_.output_volume_; }
|
| bool capture() const { return video_.capture_; }
|
| bool options_changed() const {
|
| return video_.options_changed_;
|
|
|