| 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 "media/audio/audio_manager_base.h" | 5 #include "media/audio/audio_manager_base.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 void AudioManagerBase::ShowAudioInputSettings() { | 308 void AudioManagerBase::ShowAudioInputSettings() { |
| 309 } | 309 } |
| 310 | 310 |
| 311 void AudioManagerBase::GetAudioInputDeviceNames( | 311 void AudioManagerBase::GetAudioInputDeviceNames( |
| 312 AudioDeviceNames* device_names) { | 312 AudioDeviceNames* device_names) { |
| 313 } | 313 } |
| 314 | 314 |
| 315 void AudioManagerBase::GetAudioOutputDeviceNames( | 315 void AudioManagerBase::GetAudioOutputDeviceNames( |
| 316 AudioDeviceNames* device_names) { | 316 AudioDeviceNames* device_names) { |
| 317 // TODO(joi): Remove this and keep pure virtual once implemented everywhere. | 317 // TODO(joi): Remove this and keep pure virtual once implemented everywhere. |
| 318 NOTIMPLEMENTED(); | 318 NOTREACHED() << "Don't use this yet, it's not ready on all platforms!"; |
| 319 } | 319 } |
| 320 | 320 |
| 321 void AudioManagerBase::ReleaseOutputStream(AudioOutputStream* stream) { | 321 void AudioManagerBase::ReleaseOutputStream(AudioOutputStream* stream) { |
| 322 DCHECK(stream); | 322 DCHECK(stream); |
| 323 // TODO(xians) : Have a clearer destruction path for the AudioOutputStream. | 323 // TODO(xians) : Have a clearer destruction path for the AudioOutputStream. |
| 324 // For example, pass the ownership to AudioManager so it can delete the | 324 // For example, pass the ownership to AudioManager so it can delete the |
| 325 // streams. | 325 // streams. |
| 326 --num_output_streams_; | 326 --num_output_streams_; |
| 327 delete stream; | 327 delete stream; |
| 328 } | 328 } |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 NOTIMPLEMENTED(); | 427 NOTIMPLEMENTED(); |
| 428 return ""; | 428 return ""; |
| 429 } | 429 } |
| 430 | 430 |
| 431 std::string AudioManagerBase::GetDefaultOutputDeviceID() { | 431 std::string AudioManagerBase::GetDefaultOutputDeviceID() { |
| 432 NOTIMPLEMENTED(); | 432 NOTIMPLEMENTED(); |
| 433 return ""; | 433 return ""; |
| 434 } | 434 } |
| 435 | 435 |
| 436 } // namespace media | 436 } // namespace media |
| OLD | NEW |