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

Unified Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 2721003002: Remove usage of VoEVolumeControl from WVoE and Audio[Send|Receive]Stream. (Closed)
Patch Set: rebase+comment Created 3 years, 10 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
« no previous file with comments | « webrtc/media/engine/fakewebrtccall.h ('k') | webrtc/media/engine/webrtcvoe.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtcvoiceengine.h
diff --git a/webrtc/media/engine/fakewebrtcvoiceengine.h b/webrtc/media/engine/fakewebrtcvoiceengine.h
index 18c77663a2c407f17d2a3eeaccdba8bf49cbbbf7..e44e44da75f2c1ea1250c631ade575d17d155234 100644
--- a/webrtc/media/engine/fakewebrtcvoiceengine.h
+++ b/webrtc/media/engine/fakewebrtcvoiceengine.h
@@ -60,8 +60,7 @@ static const int kOpusBandwidthFb = 20000;
class FakeWebRtcVoiceEngine
: public webrtc::VoEBase, public webrtc::VoECodec,
- public webrtc::VoEHardware,
- public webrtc::VoEVolumeControl {
+ public webrtc::VoEHardware {
public:
struct Channel {
std::vector<webrtc::CodecInst> recv_codecs;
@@ -224,22 +223,6 @@ class FakeWebRtcVoiceEngine
WEBRTC_STUB(EnableBuiltInNS, (bool enable));
bool BuiltInNSIsAvailable() const override { return false; }
- // webrtc::VoEVolumeControl
- WEBRTC_STUB(SetSpeakerVolume, (unsigned int));
- WEBRTC_STUB(GetSpeakerVolume, (unsigned int&));
- WEBRTC_STUB(SetMicVolume, (unsigned int));
- WEBRTC_STUB(GetMicVolume, (unsigned int&));
- WEBRTC_STUB(SetInputMute, (int, bool));
- WEBRTC_STUB(GetInputMute, (int, bool&));
- WEBRTC_STUB(GetSpeechInputLevel, (unsigned int&));
- WEBRTC_STUB(GetSpeechOutputLevel, (int, unsigned int&));
- WEBRTC_STUB(GetSpeechInputLevelFullRange, (unsigned int&));
- WEBRTC_STUB(GetSpeechOutputLevelFullRange, (int, unsigned int&));
- 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));
-
size_t GetNetEqCapacity() const {
auto ch = channels_.find(last_channel_);
RTC_DCHECK(ch != channels_.end());
« no previous file with comments | « webrtc/media/engine/fakewebrtccall.h ('k') | webrtc/media/engine/webrtcvoe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698