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

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

Issue 287873004: Adds volume level measurements to the AudioInputController for low-latency clients (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: improved thread handling Created 6 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_input_renderer_host.h
diff --git a/content/browser/renderer_host/media/audio_input_renderer_host.h b/content/browser/renderer_host/media/audio_input_renderer_host.h
index 93f92626dd8a5e3fce176aeb1ab138dac566f36b..75a78e8ad786495425c6e8eb6af4c16e8c9fb2a1 100644
--- a/content/browser/renderer_host/media/audio_input_renderer_host.h
+++ b/content/browser/renderer_host/media/audio_input_renderer_host.h
@@ -119,6 +119,8 @@ class CONTENT_EXPORT AudioInputRendererHost
virtual void OnData(media::AudioInputController* controller,
const uint8* data,
uint32 size) OVERRIDE;
+ virtual void OnLog(media::AudioInputController* controller,
+ const std::string& message) OVERRIDE;
private:
// TODO(henrika): extend test suite (compare AudioRenderHost)
@@ -166,6 +168,10 @@ class CONTENT_EXPORT AudioInputRendererHost
void DoHandleError(media::AudioInputController* controller,
media::AudioInputController::ErrorCode error_code);
+ // Log audio level of captured audio stream.
+ void DoLog(media::AudioInputController* controller,
+ const std::string& message);
+
// Send an error message to the renderer.
void SendErrorMessage(int stream_id, ErrorCode error_code);
« no previous file with comments | « no previous file | content/browser/renderer_host/media/audio_input_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698