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_WAVEOUT_OUTPUT_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ |
6 #define MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <mmsystem.h> | 9 #include <mmsystem.h> |
10 #include <mmreg.h> | 10 #include <mmreg.h> |
| 11 #include <stddef.h> |
| 12 #include <stdint.h> |
11 | 13 |
12 #include "base/macros.h" | 14 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
15 #include "base/win/scoped_handle.h" | 17 #include "base/win/scoped_handle.h" |
16 #include "media/audio/audio_io.h" | 18 #include "media/audio/audio_io.h" |
17 #include "media/audio/audio_parameters.h" | 19 #include "media/audio/audio_parameters.h" |
18 | 20 |
19 namespace media { | 21 namespace media { |
20 | 22 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 134 |
133 // Container for retrieving data from AudioSourceCallback::OnMoreData(). | 135 // Container for retrieving data from AudioSourceCallback::OnMoreData(). |
134 scoped_ptr<AudioBus> audio_bus_; | 136 scoped_ptr<AudioBus> audio_bus_; |
135 | 137 |
136 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); | 138 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); |
137 }; | 139 }; |
138 | 140 |
139 } // namespace media | 141 } // namespace media |
140 | 142 |
141 #endif // MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ | 143 #endif // MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ |
OLD | NEW |