| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 static const int kStreamCloseDelayMs = 5000; | 9 static const int kStreamCloseDelayMs = 5000; |
| 10 | 10 |
| 11 const char AudioManagerBase::kDefaultDeviceName[] = "Default"; |
| 12 |
| 11 AudioManagerBase::AudioManagerBase() | 13 AudioManagerBase::AudioManagerBase() |
| 12 : audio_thread_("AudioThread"), | 14 : audio_thread_("AudioThread"), |
| 13 initialized_(false) { | 15 initialized_(false) { |
| 14 } | 16 } |
| 15 | 17 |
| 16 AudioManagerBase::~AudioManagerBase() { | 18 AudioManagerBase::~AudioManagerBase() { |
| 17 DCHECK(!audio_thread_.IsRunning()); | 19 DCHECK(!audio_thread_.IsRunning()); |
| 18 } | 20 } |
| 19 | 21 |
| 20 void AudioManagerBase::Init() { | 22 void AudioManagerBase::Init() { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 | 51 |
| 50 return new AudioOutputProxy(dispatcher); | 52 return new AudioOutputProxy(dispatcher); |
| 51 } | 53 } |
| 52 | 54 |
| 53 bool AudioManagerBase::CanShowAudioInputSettings() { | 55 bool AudioManagerBase::CanShowAudioInputSettings() { |
| 54 return false; | 56 return false; |
| 55 } | 57 } |
| 56 | 58 |
| 57 void AudioManagerBase::ShowAudioInputSettings() { | 59 void AudioManagerBase::ShowAudioInputSettings() { |
| 58 } | 60 } |
| 61 |
| 62 void AudioManagerBase::GetAudioInputDeviceNames( |
| 63 AudioInputDeviceNames* device_names) { |
| 64 } |
| OLD | NEW |