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