| 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/pepper/pepper_platform_audio_output_impl.h" | 5 #include "content/renderer/pepper/pepper_platform_audio_output_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| 11 #include "content/common/child_process.h" | 11 #include "content/child/child_process.h" |
| 12 #include "content/common/media/audio_messages.h" | 12 #include "content/common/media/audio_messages.h" |
| 13 #include "content/renderer/media/audio_message_filter.h" | 13 #include "content/renderer/media/audio_message_filter.h" |
| 14 #include "content/renderer/render_thread_impl.h" | 14 #include "content/renderer/render_thread_impl.h" |
| 15 #include "media/base/audio_hardware_config.h" | 15 #include "media/base/audio_hardware_config.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 // static | 19 // static |
| 20 PepperPlatformAudioOutputImpl* PepperPlatformAudioOutputImpl::Create( | 20 PepperPlatformAudioOutputImpl* PepperPlatformAudioOutputImpl::Create( |
| 21 int sample_rate, | 21 int sample_rate, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 return; | 166 return; |
| 167 | 167 |
| 168 ipc_->CloseStream(); | 168 ipc_->CloseStream(); |
| 169 ipc_.reset(); | 169 ipc_.reset(); |
| 170 | 170 |
| 171 Release(); // Release for the delegate, balances out the reference taken in | 171 Release(); // Release for the delegate, balances out the reference taken in |
| 172 // PepperPluginDelegateImpl::CreateAudio. | 172 // PepperPluginDelegateImpl::CreateAudio. |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace content | 175 } // namespace content |
| OLD | NEW |