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

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: Replace RMS scheme with 1st-order low-pass filter, per crogers@. Simpler, single-threaded unit tes… Created 7 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: 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 b249ef418ceece4bcbffd7a1cf8bae03c73a1fe6..de4f04ff5d9ec77dcf654732fee3bd7bfbc2b8bb 100644
--- a/content/browser/renderer_host/media/audio_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_renderer_host.h
@@ -125,8 +125,9 @@ 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_dBFS, bool clipped);
// Send an error message to the renderer.
void SendErrorMessage(int stream_id);

Powered by Google App Engine
This is Rietveld 408576698