OLD | NEW |
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_WIN_WAVEIN_INPUT_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_ |
6 #define MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include <windows.h> | 10 #include <windows.h> |
11 #include <mmsystem.h> | 11 #include <mmsystem.h> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" |
14 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
15 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
16 #include "base/win/scoped_handle.h" | 17 #include "base/win/scoped_handle.h" |
17 #include "media/audio/audio_io.h" | 18 #include "media/audio/audio_io.h" |
18 #include "media/audio/audio_parameters.h" | 19 #include "media/audio/audio_parameters.h" |
19 | 20 |
20 namespace media { | 21 namespace media { |
21 | 22 |
22 class AudioBus; | 23 class AudioBus; |
23 class AudioManagerWin; | 24 class AudioManagerWin; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // Extra audio bus used for storage of deinterleaved data for the OnData | 128 // Extra audio bus used for storage of deinterleaved data for the OnData |
128 // callback. | 129 // callback. |
129 scoped_ptr<media::AudioBus> audio_bus_; | 130 scoped_ptr<media::AudioBus> audio_bus_; |
130 | 131 |
131 DISALLOW_COPY_AND_ASSIGN(PCMWaveInAudioInputStream); | 132 DISALLOW_COPY_AND_ASSIGN(PCMWaveInAudioInputStream); |
132 }; | 133 }; |
133 | 134 |
134 } // namespace media | 135 } // namespace media |
135 | 136 |
136 #endif // MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_ | 137 #endif // MEDIA_AUDIO_WIN_WAVEIN_INPUT_WIN_H_ |
OLD | NEW |