Index: content/renderer/media/audio_renderer_impl.h |
=================================================================== |
--- content/renderer/media/audio_renderer_impl.h (revision 90030) |
+++ content/renderer/media/audio_renderer_impl.h (working copy) |
@@ -56,7 +56,7 @@ |
public MessageLoop::DestructionObserver { |
public: |
// Methods called on Render thread ------------------------------------------ |
- explicit AudioRendererImpl(AudioMessageFilter* filter); |
+ AudioRendererImpl(); |
virtual ~AudioRendererImpl(); |
// Methods called on IO thread ---------------------------------------------- |
@@ -114,11 +114,11 @@ |
// Called on IO thread when message loop is dying. |
virtual void WillDestroyCurrentMessageLoop(); |
+ void Send(IPC::Message* message); |
+ |
// Used to calculate audio delay given bytes. |
uint32 bytes_per_second_; |
- scoped_refptr<AudioMessageFilter> filter_; |
- |
// ID of the stream created in the browser process. |
int32 stream_id_; |
@@ -129,6 +129,9 @@ |
// Message loop for the IO thread. |
MessageLoop* io_loop_; |
+ // Cached audio message filter (lives on the main render thread). |
+ scoped_refptr<AudioMessageFilter> filter_; |
+ |
// Protects: |
// - |stopped_| |
// - |pending_request_| |