| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 5 #include "content/renderer/media/renderer_webaudiodevice_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 | 10 |
| 9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 11 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
| 12 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
| 13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "build/build_config.h" |
| 14 #include "content/renderer/media/audio_device_factory.h" | 17 #include "content/renderer/media/audio_device_factory.h" |
| 15 #include "content/renderer/render_frame_impl.h" | 18 #include "content/renderer/render_frame_impl.h" |
| 16 #include "media/audio/audio_output_device.h" | 19 #include "media/audio/audio_output_device.h" |
| 17 #include "media/audio/null_audio_sink.h" | 20 #include "media/audio/null_audio_sink.h" |
| 18 #include "media/base/media_switches.h" | 21 #include "media/base/media_switches.h" |
| 19 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 22 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| 20 #include "third_party/WebKit/public/web/WebView.h" | 23 #include "third_party/WebKit/public/web/WebView.h" |
| 21 | 24 |
| 22 using blink::WebAudioDevice; | 25 using blink::WebAudioDevice; |
| 23 using blink::WebLocalFrame; | 26 using blink::WebLocalFrame; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } | 153 } |
| 151 #endif | 154 #endif |
| 152 return dest->frames(); | 155 return dest->frames(); |
| 153 } | 156 } |
| 154 | 157 |
| 155 void RendererWebAudioDeviceImpl::OnRenderError() { | 158 void RendererWebAudioDeviceImpl::OnRenderError() { |
| 156 // TODO(crogers): implement error handling. | 159 // TODO(crogers): implement error handling. |
| 157 } | 160 } |
| 158 | 161 |
| 159 } // namespace content | 162 } // namespace content |
| OLD | NEW |