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

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

Issue 3192017: Revert 57254 - Share one thread between all AudioOutputControllers instead of... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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.cc ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
7
8 #include "base/thread.h"
9 #include "media/audio/audio_manager.h"
10
11 // AudioManagerBase provides AudioManager functions common for all platforms.
12 class AudioManagerBase : public AudioManager {
13 public:
14 AudioManagerBase();
15
16 virtual void Init();
17
18 virtual MessageLoop* GetMessageLoop();
19
20 protected:
21 virtual ~AudioManagerBase() {}
22
23 bool initialized() { return initialized_; }
24
25 protected:
26 // Thread used to interact with AudioOutputStreams created by this
27 // audio manger.
28 base::Thread audio_thread_;
29
30 bool initialized_;
31
32 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase);
33 };
34
35 #endif // MEDIA_AUDIO_AUDIO_MANAGER_BASE_H_
OLDNEW
« no previous file with comments | « media/audio/audio_manager.cc ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698