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

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

Issue 14273018: Use the browser UI thread for audio on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments. Created 7 years, 6 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.h ('k') | media/audio/audio_manager_base.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) 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 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ 6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 23 matching lines...) Expand all
34 class MEDIA_EXPORT AudioManagerBase : public AudioManager { 34 class MEDIA_EXPORT AudioManagerBase : public AudioManager {
35 public: 35 public:
36 // Name of the generic "default" device. 36 // Name of the generic "default" device.
37 static const char kDefaultDeviceName[]; 37 static const char kDefaultDeviceName[];
38 // Unique Id of the generic "default" device. 38 // Unique Id of the generic "default" device.
39 static const char kDefaultDeviceId[]; 39 static const char kDefaultDeviceId[];
40 40
41 virtual ~AudioManagerBase(); 41 virtual ~AudioManagerBase();
42 42
43 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE; 43 virtual scoped_refptr<base::MessageLoopProxy> GetMessageLoop() OVERRIDE;
44 virtual scoped_refptr<base::MessageLoopProxy> GetWorkerLoop() OVERRIDE;
44 45
45 virtual string16 GetAudioInputDeviceModel() OVERRIDE; 46 virtual string16 GetAudioInputDeviceModel() OVERRIDE;
46 47
47 virtual void ShowAudioInputSettings() OVERRIDE; 48 virtual void ShowAudioInputSettings() OVERRIDE;
48 49
49 virtual void GetAudioInputDeviceNames( 50 virtual void GetAudioInputDeviceNames(
50 media::AudioDeviceNames* device_names) OVERRIDE; 51 media::AudioDeviceNames* device_names) OVERRIDE;
51 52
52 virtual AudioOutputStream* MakeAudioOutputStream( 53 virtual AudioOutputStream* MakeAudioOutputStream(
53 const AudioParameters& params, 54 const AudioParameters& params,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Map of cached AudioOutputDispatcher instances. Must only be touched 169 // Map of cached AudioOutputDispatcher instances. Must only be touched
169 // from the audio thread (no locking). 170 // from the audio thread (no locking).
170 AudioOutputDispatchers output_dispatchers_; 171 AudioOutputDispatchers output_dispatchers_;
171 172
172 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); 173 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase);
173 }; 174 };
174 175
175 } // namespace media 176 } // namespace media
176 177
177 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ 178 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
OLDNEW
« no previous file with comments | « media/audio/audio_manager.h ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698