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

Unified Diff: webrtc/modules/audio_mixer/new_audio_conference_mixer.h

Issue 2230823004: Added a level indicator to new mixer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@mixer_gn_fixes
Patch Set: Removed format changes to level_indicator.cc. Created 4 years, 4 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/modules/audio_mixer/new_audio_conference_mixer.h
diff --git a/webrtc/modules/audio_mixer/new_audio_conference_mixer.h b/webrtc/modules/audio_mixer/new_audio_conference_mixer.h
index 561cf88604f58cf51ee4352f10e8e7df0bd6f1e2..9f4a1305a8c88cbafdeefdba01d1504a412eceb1 100644
--- a/webrtc/modules/audio_mixer/new_audio_conference_mixer.h
+++ b/webrtc/modules/audio_mixer/new_audio_conference_mixer.h
@@ -59,6 +59,13 @@ class NewAudioConferenceMixer {
virtual bool AnonymousMixabilityStatus(
const MixerAudioSource& audio_source) const = 0;
+ // Output level functions for VoEVolumeControl. Return value
+ // between 0 and 9 is returned by voe::AudioLevel.
+ virtual uint32_t GetOutputAudioLevel() = 0;
+
+ // Return value between 0 and 0x7fff is returned by voe::AudioLevel.
+ virtual uint32_t GetOutputAudioLevelFullRange() = 0;
kwiberg-webrtc 2016/08/23 12:58:26 Style guide says to use regular int for small inte
aleloi 2016/08/24 07:19:47 Done.
+
protected:
NewAudioConferenceMixer() {}
};

Powered by Google App Engine
This is Rietveld 408576698