summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 21:55:52 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 21:55:52 +0000
commitc2a17ba1120977c97de531883aafbf74eae4cf97 (patch)
tree35fa2525304f4fb69e2f71319b759664de697a8b /chrome
parent1631af60045c70c824da789990969a14f8cd01d3 (diff)
downloadchromium_src-c2a17ba1120977c97de531883aafbf74eae4cf97.zip
chromium_src-c2a17ba1120977c97de531883aafbf74eae4cf97.tar.gz
chromium_src-c2a17ba1120977c97de531883aafbf74eae4cf97.tar.bz2
Implements AudioInputDevice API for low-latency audio input in the browser process.
Also refactors some shared audio code into audio_common.{cc,h}. Patch by henrika@chromim.org: http://codereview.chromium.org/6250196/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81315 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/renderer_host/browser_render_process_host.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index a0161d6..c7f0247 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -71,6 +71,7 @@
#include "content/browser/file_system/file_system_dispatcher_host.h"
#include "content/browser/mime_registry_message_filter.h"
#include "content/browser/plugin_service.h"
+#include "content/browser/renderer_host/audio_input_renderer_host.h"
#include "content/browser/renderer_host/audio_renderer_host.h"
#include "content/browser/renderer_host/blob_message_filter.h"
#include "content/browser/renderer_host/clipboard_message_filter.h"
@@ -466,8 +467,9 @@ void BrowserRenderProcessHost::CreateMessageFilters() {
g_browser_process->resource_dispatcher_host());
resource_message_filter->set_url_request_context_override(
url_request_context_override);
- channel_->AddFilter(resource_message_filter);
+ channel_->AddFilter(resource_message_filter);
+ channel_->AddFilter(new AudioInputRendererHost());
channel_->AddFilter(new AudioRendererHost());
channel_->AddFilter(
new AppCacheDispatcherHost(profile()->GetRequestContext(), id()));