summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 23:51:16 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 23:51:16 +0000
commit2ee2329e9d55fdf601752a10abbe16581eefbe9d (patch)
treed22a9cde12c1ac9e331ea7e0d38f7ae13e6f63f3 /chrome/renderer/render_view.cc
parent96b74c572398e400c58cb6255d61394eacebf270 (diff)
downloadchromium_src-2ee2329e9d55fdf601752a10abbe16581eefbe9d.zip
chromium_src-2ee2329e9d55fdf601752a10abbe16581eefbe9d.tar.gz
chromium_src-2ee2329e9d55fdf601752a10abbe16581eefbe9d.tar.bz2
Implementation of AudioRendererHost
Completing the implementation of AudioRendererHost in chrome/browser/renderer_host/audio_renderer_host.cc with ResourceMessageFilter actually delegating calls to it when corresponding IPC messages are received. With this patch we should be able to send audio related IPC messages to browser with working audio, but we still need to complete the singleton paradigm for AudioManager to start using it in unit test and renderer. Review URL: http://codereview.chromium.org/21494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10647 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 043a2b9..6d41678 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -2962,10 +2962,10 @@ void RenderView::CloseAudioStream(int stream_id) {
Send(new ViewHostMsg_CloseAudioStream(routing_id_, stream_id));
}
-void RenderView::NotifyAudioPacketReady(int stream_id) {
+void RenderView::NotifyAudioPacketReady(int stream_id, size_t size) {
// TODO(hclam): make sure this method is called on render thread.
DCHECK(audio_renderers_.Lookup(stream_id) != NULL);
- Send(new ViewHostMsg_NotifyAudioPacketReady(routing_id_, stream_id));
+ Send(new ViewHostMsg_NotifyAudioPacketReady(routing_id_, stream_id, size));
}
void RenderView::GetAudioVolume(int stream_id) {