Index: webrtc/media/engine/fakewebrtcvoiceengine.h |
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h |
index 8d15f5249e0bbf3c4c0049b0d6a24c3736323f23..4e3ced6c35f8765c212abd39dc571e8d36e5a0f5 100644 |
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h |
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h |
@@ -129,7 +129,6 @@ class FakeWebRtcVoiceEngine |
memset(&send_codec, 0, sizeof(send_codec)); |
} |
bool playout = false; |
- float volume_scale = 1.0f; |
bool vad = false; |
bool codec_fec = false; |
int max_encoding_bandwidth = 0; |
@@ -441,16 +440,8 @@ class FakeWebRtcVoiceEngine |
WEBRTC_STUB(GetSpeechOutputLevel, (int, unsigned int&)); |
WEBRTC_STUB(GetSpeechInputLevelFullRange, (unsigned int&)); |
WEBRTC_STUB(GetSpeechOutputLevelFullRange, (int, unsigned int&)); |
- WEBRTC_FUNC(SetChannelOutputVolumeScaling, (int channel, float scale)) { |
- WEBRTC_CHECK_CHANNEL(channel); |
- channels_[channel]->volume_scale= scale; |
- return 0; |
- } |
- WEBRTC_FUNC(GetChannelOutputVolumeScaling, (int channel, float& scale)) { |
- WEBRTC_CHECK_CHANNEL(channel); |
- scale = channels_[channel]->volume_scale; |
- return 0; |
- } |
+ WEBRTC_STUB(SetChannelOutputVolumeScaling, (int channel, float scale)); |
+ WEBRTC_STUB(GetChannelOutputVolumeScaling, (int channel, float& scale)); |
WEBRTC_STUB(SetOutputVolumePan, (int channel, float left, float right)); |
WEBRTC_STUB(GetOutputVolumePan, (int channel, float& left, float& right)); |