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

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

Issue 1397773002: Change SetOutputScaling to set a single level, not left/right levels. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase+rename Created 5 years, 2 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 | « talk/media/base/mediachannel.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/webrtc/fakewebrtcvoiceengine.h
diff --git a/talk/media/webrtc/fakewebrtcvoiceengine.h b/talk/media/webrtc/fakewebrtcvoiceengine.h
index 672c5626f9be30886d8f2ac30f17ae0706e8a1ec..5f4e785ddabd4e2b01cd68c5d96e049f2de8e6af 100644
--- a/talk/media/webrtc/fakewebrtcvoiceengine.h
+++ b/talk/media/webrtc/fakewebrtcvoiceengine.h
@@ -200,8 +200,6 @@ class FakeWebRtcVoiceEngine
send(false),
playout(false),
volume_scale(1.0),
- volume_pan_left(1.0),
- volume_pan_right(1.0),
vad(false),
codec_fec(false),
max_encoding_bandwidth(0),
@@ -230,8 +228,6 @@ class FakeWebRtcVoiceEngine
bool send;
bool playout;
float volume_scale;
- float volume_pan_left;
- float volume_pan_right;
bool vad;
bool codec_fec;
int max_encoding_bandwidth;
@@ -930,18 +926,8 @@ class FakeWebRtcVoiceEngine
scale = channels_[channel]->volume_scale;
return 0;
}
- WEBRTC_FUNC(SetOutputVolumePan, (int channel, float left, float right)) {
- WEBRTC_CHECK_CHANNEL(channel);
- channels_[channel]->volume_pan_left = left;
- channels_[channel]->volume_pan_right = right;
- return 0;
- }
- WEBRTC_FUNC(GetOutputVolumePan, (int channel, float& left, float& right)) {
- WEBRTC_CHECK_CHANNEL(channel);
- left = channels_[channel]->volume_pan_left;
- right = channels_[channel]->volume_pan_right;
- return 0;
- }
+ WEBRTC_STUB(SetOutputVolumePan, (int channel, float left, float right));
+ WEBRTC_STUB(GetOutputVolumePan, (int channel, float& left, float& right));
// webrtc::VoEAudioProcessing
WEBRTC_FUNC(SetNsStatus, (bool enable, webrtc::NsModes mode)) {
« no previous file with comments | « talk/media/base/mediachannel.h ('k') | talk/media/webrtc/webrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698