| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "media/audio/audio_manager_base.h" | 5 #include "media/audio/audio_manager_base.h" |
| 6 #include "media/audio/audio_output_dispatcher.h" | 6 #include "media/audio/audio_output_dispatcher.h" |
| 7 #include "media/audio/audio_output_proxy.h" | 7 #include "media/audio/audio_output_proxy.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 const int kStreamCloseDelayMs = 5000; | 10 const int kStreamCloseDelayMs = 5000; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 if (!initialized_) | 44 if (!initialized_) |
| 45 return NULL; | 45 return NULL; |
| 46 | 46 |
| 47 scoped_refptr<AudioOutputDispatcher>& dispatcher = | 47 scoped_refptr<AudioOutputDispatcher>& dispatcher = |
| 48 output_dispatchers_[params]; | 48 output_dispatchers_[params]; |
| 49 if (!dispatcher) | 49 if (!dispatcher) |
| 50 dispatcher = new AudioOutputDispatcher(this, params, kStreamCloseDelayMs); | 50 dispatcher = new AudioOutputDispatcher(this, params, kStreamCloseDelayMs); |
| 51 | 51 |
| 52 return new AudioOutputProxy(dispatcher); | 52 return new AudioOutputProxy(dispatcher); |
| 53 } | 53 } |
| 54 |
| 55 bool AudioManagerBase::CanShowAudioInputSettings() { |
| 56 return false; |
| 57 } |
| 58 |
| 59 void AudioManagerBase::ShowAudioInputSettings() { |
| 60 } |
| OLD | NEW |