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

Unified Diff: chrome/browser/media/media_capture_devices_dispatcher.cc

Issue 14600025: Replace AudioSilenceDetector with an AudioPowerMonitor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: chrome/browser/media/media_capture_devices_dispatcher.cc
diff --git a/chrome/browser/media/media_capture_devices_dispatcher.cc b/chrome/browser/media/media_capture_devices_dispatcher.cc
index 5fb643ff41dacc368cc24bdd8f25f30b6e0562ae..75b813eed1f14c60257a98c3a3183ca59f095064 100644
--- a/chrome/browser/media/media_capture_devices_dispatcher.cc
+++ b/chrome/browser/media/media_capture_devices_dispatcher.cc
@@ -349,11 +349,12 @@ void MediaCaptureDevicesDispatcher::OnMediaRequestStateChanged(
void MediaCaptureDevicesDispatcher::OnAudioStreamPlayingChanged(
int render_process_id, int render_view_id, int stream_id,
- bool is_playing_and_audible) {
+ bool is_playing, float power_in_dbfs) {
audio_stream_indicator_->UpdateWebContentsStatus(render_process_id,
render_view_id,
stream_id,
- is_playing_and_audible);
+ is_playing,
+ power_in_dbfs);
}
void MediaCaptureDevicesDispatcher::UpdateAudioDevicesOnUIThread(

Powered by Google App Engine
This is Rietveld 408576698