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

Unified Diff: webrtc/media/base/mediaengine.h

Issue 2059403002: Removed GetOutputVolume() and SetOutputVolume(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 6 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: webrtc/media/base/mediaengine.h
diff --git a/webrtc/media/base/mediaengine.h b/webrtc/media/base/mediaengine.h
index bd1ce431ec7e75aba2d1b39b9644d9b0c7eb2553..a1411b314b7e0cc65f43159a148d7188ef9c8b29 100644
--- a/webrtc/media/base/mediaengine.h
+++ b/webrtc/media/base/mediaengine.h
@@ -72,12 +72,6 @@ class MediaEngineInterface {
const MediaConfig& config,
const VideoOptions& options) = 0;
- // Device configuration
- // Gets the current speaker volume, as a value between 0 and 255.
- virtual bool GetOutputVolume(int* level) = 0;
- // Sets the current speaker volume, as a value between 0 and 255.
- virtual bool SetOutputVolume(int level) = 0;
-
// Gets the current microphone level, as a value between 0 and 10.
virtual int GetInputLevel() = 0;
@@ -153,13 +147,6 @@ class CompositeMediaEngine : public MediaEngineInterface {
return video_.CreateChannel(call, config, options);
}
- virtual bool GetOutputVolume(int* level) {
- return voice_.GetOutputVolume(level);
- }
- virtual bool SetOutputVolume(int level) {
- return voice_.SetOutputVolume(level);
- }
-
virtual int GetInputLevel() {
return voice_.GetInputLevel();
}

Powered by Google App Engine
This is Rietveld 408576698