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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host.h

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: content/browser/renderer_host/media/audio_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_renderer_host.h b/content/browser/renderer_host/media/audio_renderer_host.h
index 803539cf48a1c7bdd331ff28e27fd03338ce0b18..b492754150586288f8555dd3c658dd45e25f7396 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -119,8 +119,8 @@ class CONTENT_EXPORT AudioRendererHost : public BrowserMessageFilter {
// NotifyStreamCreated message to the peer.
void DoCompleteCreation(AudioEntry* entry);
- // Propagate audible signal to MediaObserver.
- void DoNotifyAudibleState(AudioEntry* entry, bool is_audible);
+ // Propagate measured power level of the audio signal to MediaObserver.
+ void DoNotifyAudioPowerLevel(AudioEntry* entry, float power_in_dbfs);
// Send an error message to the renderer.
void SendErrorMessage(int stream_id);

Powered by Google App Engine
This is Rietveld 408576698