OLD | NEW |
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 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "media/audio/audio_manager_base.h" | 12 #include "media/audio/audio_manager_base.h" |
13 | 13 |
14 class PCMWaveInAudioInputStream; | |
15 class PCMWaveOutAudioOutputStream; | 14 class PCMWaveOutAudioOutputStream; |
16 | 15 |
17 // Windows implementation of the AudioManager singleton. This class is internal | 16 // Windows implementation of the AudioManager singleton. This class is internal |
18 // to the audio output and only internal users can call methods not exposed by | 17 // to the audio output and only internal users can call methods not exposed by |
19 // the AudioManager class. | 18 // the AudioManager class. |
20 class AudioManagerWin : public AudioManagerBase { | 19 class AudioManagerWin : public AudioManagerBase { |
21 public: | 20 public: |
22 AudioManagerWin(); | 21 AudioManagerWin(); |
23 // Implementation of AudioManager. | 22 // Implementation of AudioManager. |
24 virtual bool HasAudioOutputDevices() OVERRIDE; | 23 virtual bool HasAudioOutputDevices() OVERRIDE; |
(...skipping 20 matching lines...) Expand all Loading... |
45 private: | 44 private: |
46 virtual ~AudioManagerWin(); | 45 virtual ~AudioManagerWin(); |
47 | 46 |
48 // Number of currently open output streams. | 47 // Number of currently open output streams. |
49 int num_output_streams_; | 48 int num_output_streams_; |
50 | 49 |
51 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 50 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
52 }; | 51 }; |
53 | 52 |
54 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 53 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
OLD | NEW |