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

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

Issue 6602012: Adds method to invoke platform provided audio input UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 9 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
« no previous file with comments | « media/audio/audio_manager_base.h ('k') | media/audio/audio_output_proxy_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « media/audio/audio_manager_base.h ('k') | media/audio/audio_output_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698