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/audio_message_filter.h" | 5 #include "content/renderer/media/audio_message_filter.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
9 #include "content/common/media/audio_messages.h" | 9 #include "content/common/media/audio_messages.h" |
10 #include "content/renderer/render_thread_impl.h" | 10 #include "content/renderer/render_thread_impl.h" |
11 #include "ipc/ipc_logging.h" | 11 #include "ipc/ipc_logging.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 namespace { | 15 namespace { |
16 const int kStreamIDNotSet = -1; | 16 const int kStreamIDNotSet = -1; |
17 } | 17 } |
18 | 18 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 audio_hardware_config_->UpdateOutputConfig(output_params); | 226 audio_hardware_config_->UpdateOutputConfig(output_params); |
227 } | 227 } |
228 | 228 |
229 void AudioMessageFilter::SetAudioHardwareConfig( | 229 void AudioMessageFilter::SetAudioHardwareConfig( |
230 media::AudioHardwareConfig* config) { | 230 media::AudioHardwareConfig* config) { |
231 base::AutoLock auto_lock(lock_); | 231 base::AutoLock auto_lock(lock_); |
232 audio_hardware_config_ = config; | 232 audio_hardware_config_ = config; |
233 } | 233 } |
234 | 234 |
235 } // namespace content | 235 } // namespace content |
OLD | NEW |