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

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

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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_output_controller.h » ('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) 2011 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 #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 <map> 8 #include <map>
9 9
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "media/audio/audio_manager.h" 11 #include "media/audio/audio_manager.h"
12 12
13 class AudioOutputDispatcher; 13 class AudioOutputDispatcher;
14 14
15 // AudioManagerBase provides AudioManager functions common for all platforms. 15 // AudioManagerBase provides AudioManager functions common for all platforms.
16 class MEDIA_EXPORT AudioManagerBase : public AudioManager { 16 class AudioManagerBase : public AudioManager {
17 public: 17 public:
18 // Name of the generic "default" device. 18 // Name of the generic "default" device.
19 static const char kDefaultDeviceName[]; 19 static const char kDefaultDeviceName[];
20 20
21 AudioManagerBase(); 21 AudioManagerBase();
22 22
23 virtual void Init(); 23 virtual void Init();
24 virtual void Cleanup(); 24 virtual void Cleanup();
25 25
26 virtual MessageLoop* GetMessageLoop(); 26 virtual MessageLoop* GetMessageLoop();
(...skipping 22 matching lines...) Expand all
49 base::Thread audio_thread_; 49 base::Thread audio_thread_;
50 50
51 bool initialized_; 51 bool initialized_;
52 52
53 AudioOutputDispatchersMap output_dispatchers_; 53 AudioOutputDispatchersMap output_dispatchers_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase); 55 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase);
56 }; 56 };
57 57
58 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_ 58 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
OLDNEW
« no previous file with comments | « media/audio/audio_manager.h ('k') | media/audio/audio_output_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698