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

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

Issue 12383016: Merge AssociateStreamWithProducer message into CreateStream message for both audio output and input. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
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 ca19d0749054cb9c83f10895a8e88b5b7a88f89b..d5354834d8591cf78e5c1cd2d36732918633cee4 100644
--- a/content/renderer/media/renderer_webaudiodevice_impl.h
+++ b/content/renderer/media/renderer_webaudiodevice_impl.h
@@ -7,6 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/threading/thread_checker.h"
+#include "media/audio/audio_output_device.h"
#include "media/audio/audio_parameters.h"
#include "media/base/audio_renderer_sink.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebAudioDevice.h"
@@ -14,8 +15,6 @@
namespace content {
-class RendererAudioOutputDevice;
-
class RendererWebAudioDeviceImpl
: public WebKit::WebAudioDevice,
public media::AudioRendererSink::RenderCallback {
@@ -50,7 +49,7 @@ class RendererWebAudioDeviceImpl
base::ThreadChecker thread_checker_;
// When non-NULL, we are started. When NULL, we are stopped.
- scoped_refptr<RendererAudioOutputDevice> output_device_;
+ scoped_refptr<media::AudioOutputDevice> output_device_;
DISALLOW_COPY_AND_ASSIGN(RendererWebAudioDeviceImpl);
};

Powered by Google App Engine
This is Rietveld 408576698