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

Unified Diff: content/renderer/media/renderer_webaudiodevice_impl.h

Issue 11359196: Associate audio streams with their source/destination RenderView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Consolidate construct/init/destruct code in AudioOutputDeviceTest. Created 8 years, 1 month 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/renderer/media/renderer_webaudiodevice_impl.h
diff --git a/content/renderer/media/renderer_webaudiodevice_impl.h b/content/renderer/media/renderer_webaudiodevice_impl.h
index 2e747c948ecc375e068519e50f5cc6aad7944299..a85638c6bbd9907a6b5756b5531e9b715d5fe063 100644
--- a/content/renderer/media/renderer_webaudiodevice_impl.h
+++ b/content/renderer/media/renderer_webaudiodevice_impl.h
@@ -6,7 +6,7 @@
#define CONTENT_RENDERER_MEDIA_MEDIA_RENDERER_WEBAUDIODEVICE_IMPL_H_
#include "base/memory/ref_counted.h"
-#include "media/base/audio_renderer_sink.h"
+#include "media/audio/audio_output_device.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebAudioDevice.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
@@ -36,7 +36,7 @@ class RendererWebAudioDeviceImpl
virtual void OnRenderError() OVERRIDE;
private:
- scoped_refptr<media::AudioRendererSink> audio_device_;
+ scoped_refptr<media::AudioOutputDevice> audio_device_;
bool is_running_;
// Weak reference to the callback into WebKit code.

Powered by Google App Engine
This is Rietveld 408576698