Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: media/audio/audio_manager_base.cc

Issue 7060011: Adding GetAudioInputDeviceNames to AudioManager, this function is supposed to do device enumerati... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698