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

Unified Diff: talk/session/media/channel.cc

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/session/media/channel.h ('k') | talk/session/media/channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channel.cc
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc
index 57d09a2d6fda80311addd7f0c26bee76223c55a9..5a7ba607cdbe45b9b9af78ff5f32e1c4b49e39d5 100644
--- a/talk/session/media/channel.cc
+++ b/talk/session/media/channel.cc
@@ -1347,9 +1347,9 @@ bool VoiceChannel::InsertDtmf(uint32_t ssrc,
ssrc, event_code, duration, flags));
}
-bool VoiceChannel::SetOutputScaling(uint32_t ssrc, double left, double right) {
- return InvokeOnWorker(Bind(&VoiceMediaChannel::SetOutputScaling,
- media_channel(), ssrc, left, right));
+bool VoiceChannel::SetOutputVolume(uint32_t ssrc, double volume) {
+ return InvokeOnWorker(Bind(&VoiceMediaChannel::SetOutputVolume,
+ media_channel(), ssrc, volume));
}
bool VoiceChannel::GetStats(VoiceMediaInfo* stats) {
« no previous file with comments | « talk/session/media/channel.h ('k') | talk/session/media/channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698