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 #pragma once | |
8 | 7 |
9 #include <windows.h> | 8 #include <windows.h> |
10 #include <mmsystem.h> | 9 #include <mmsystem.h> |
11 #include <mmreg.h> | 10 #include <mmreg.h> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
16 #include "base/win/scoped_handle.h" | 15 #include "base/win/scoped_handle.h" |
17 #include "media/audio/audio_io.h" | 16 #include "media/audio/audio_io.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 129 |
131 // Lock used to avoid the conflict when callbacks are called simultaneously. | 130 // Lock used to avoid the conflict when callbacks are called simultaneously. |
132 base::Lock lock_; | 131 base::Lock lock_; |
133 | 132 |
134 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); | 133 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); |
135 }; | 134 }; |
136 | 135 |
137 } // namespace media | 136 } // namespace media |
138 | 137 |
139 #endif // MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ | 138 #endif // MEDIA_AUDIO_WIN_WAVEOUT_OUTPUT_WIN_H_ |
OLD | NEW |