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

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: Restored AudioDeviceFactory. Created new RendererAudioOutputDevice. 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..48e98485575179aebd021b573d80b9fa4f2538e5 100644
--- a/content/renderer/media/renderer_webaudiodevice_impl.h
+++ b/content/renderer/media/renderer_webaudiodevice_impl.h
@@ -12,6 +12,8 @@
namespace content {
+class RendererAudioOutputDevice;
+
class RendererWebAudioDeviceImpl
: public WebKit::WebAudioDevice,
public media::AudioRendererSink::RenderCallback {
@@ -36,7 +38,7 @@ class RendererWebAudioDeviceImpl
virtual void OnRenderError() OVERRIDE;
private:
- scoped_refptr<media::AudioRendererSink> audio_device_;
+ scoped_refptr<RendererAudioOutputDevice> audio_device_;
bool is_running_;
// Weak reference to the callback into WebKit code.

Powered by Google App Engine
This is Rietveld 408576698