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

Unified Diff: talk/session/media/channel.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: 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
Index: talk/session/media/channel.h
diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h
index c557ef35b58e7edb062bdd08698055247857b675..05918ddd5578d18b4087bc8963d06868e167b3a1 100644
--- a/talk/session/media/channel.h
+++ b/talk/session/media/channel.h
@@ -365,7 +365,7 @@ class VoiceChannel : public BaseChannel {
// The valid value for the |event| are 0 which corresponding to DTMF
// event 0-9, *, #, A-D.
bool InsertDtmf(uint32_t ssrc, int event_code, int duration, int flags);
- bool SetOutputScaling(uint32_t ssrc, double left, double right);
+ bool SetOutputScaling(uint32_t ssrc, double volume);
pthatcher1 2015/10/08 18:37:50 Can this also (SetOutputVolume)?
the sun 2015/10/09 08:01:21 Done.
// Get statistics about the current media session.
bool GetStats(VoiceMediaInfo* stats);
@@ -402,7 +402,7 @@ class VoiceChannel : public BaseChannel {
std::string* error_desc);
void HandleEarlyMediaTimeout();
bool InsertDtmf_w(uint32_t ssrc, int event, int duration, int flags);
- bool SetOutputScaling_w(uint32_t ssrc, double left, double right);
+ bool SetOutputScaling_w(uint32_t ssrc, double volume);
bool GetStats_w(VoiceMediaInfo* stats);
virtual void OnMessage(rtc::Message* pmsg);

Powered by Google App Engine
This is Rietveld 408576698