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

Unified Diff: content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h

Issue 178223013: Calculate the signal level on the media stream local audio track (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebased and all the try jobs passed Created 6 years, 10 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: content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h
diff --git a/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h b/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h
index a721a9f57fdc77e4e431f65097a86b2d7cf4cda9..d8fae057c296a048d466fb1c96f6a52cd1a5234d 100644
--- a/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h
+++ b/content/renderer/media/webrtc/webrtc_local_audio_track_adapter.h
@@ -46,6 +46,10 @@ class CONTENT_EXPORT WebRtcLocalAudioTrackAdapter
std::vector<int> VoeChannels() const;
+ // Called on the audio thread by the WebRtcLocalAudioTrack to set the signal
+ // level of the audio data.
+ void SetSignalLevel(int signal_level);
+
private:
// webrtc::MediaStreamTrack implementation.
virtual std::string kind() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698