OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_WAVEOUT_OUTPUT_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WAVEOUT_OUTPUT_WIN_H_ |
6 #define MEDIA_AUDIO_WAVEOUT_OUTPUT_WIN_H_ | 6 #define MEDIA_AUDIO_WAVEOUT_OUTPUT_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <mmsystem.h> | 9 #include <mmsystem.h> |
10 | 10 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // Pointer to the first allocated audio buffer. This object owns it. | 96 // Pointer to the first allocated audio buffer. This object owns it. |
97 WAVEHDR* buffer_; | 97 WAVEHDR* buffer_; |
98 | 98 |
99 // An event that is signaled when the callback thread is ready to stop. | 99 // An event that is signaled when the callback thread is ready to stop. |
100 ScopedHandle stopped_event_; | 100 ScopedHandle stopped_event_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); | 102 DISALLOW_COPY_AND_ASSIGN(PCMWaveOutAudioOutputStream); |
103 }; | 103 }; |
104 | 104 |
105 #endif // MEDIA_AUDIO_WAVEOUT_OUTPUT_WIN_H_ | 105 #endif // MEDIA_AUDIO_WAVEOUT_OUTPUT_WIN_H_ |
106 | |
OLD | NEW |