| Index: content/renderer/media/audio_device_factory.cc
|
| diff --git a/content/renderer/media/audio_device_factory.cc b/content/renderer/media/audio_device_factory.cc
|
| index ad7968884e78c410b8e03094850e03da0efb7318..32ec5cae554b98a2d56a5a3a3a21263cf02ab027 100644
|
| --- a/content/renderer/media/audio_device_factory.cc
|
| +++ b/content/renderer/media/audio_device_factory.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/logging.h"
|
| #include "content/common/child_process.h"
|
| +#include "content/renderer/media/audio_output_ipc.h"
|
| #include "content/renderer/media/audio_input_message_filter.h"
|
| #include "content/renderer/media/audio_message_filter.h"
|
| #include "media/audio/audio_input_device.h"
|
| @@ -17,13 +18,14 @@ namespace content {
|
| AudioDeviceFactory* AudioDeviceFactory::factory_ = NULL;
|
|
|
| // static
|
| -media::AudioRendererSink* AudioDeviceFactory::NewOutputDevice() {
|
| +media::AudioRendererSink* AudioDeviceFactory::NewOutputDevice(
|
| + int render_view_id) {
|
| media::AudioRendererSink* device = NULL;
|
| if (factory_)
|
| device = factory_->CreateOutputDevice();
|
|
|
| return device ? device : new media::AudioOutputDevice(
|
| - AudioMessageFilter::Get(),
|
| + new AudioOutputIPC(render_view_id),
|
| ChildProcess::current()->io_message_loop()->message_loop_proxy());
|
| }
|
|
|
|
|