Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: media/audio/win/audio_low_latency_output_win.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/audio/win/audio_low_latency_input_win.h ('k') | media/audio/win/audio_manager_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Implementation of AudioOutputStream for Windows using Windows Core Audio 5 // Implementation of AudioOutputStream for Windows using Windows Core Audio
6 // WASAPI for low latency rendering. 6 // WASAPI for low latency rendering.
7 // 7 //
8 // Overview of operation and performance: 8 // Overview of operation and performance:
9 // 9 //
10 // - An object of WASAPIAudioOutputStream is created by the AudioManager 10 // - An object of WASAPIAudioOutputStream is created by the AudioManager
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 #ifndef MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_ 93 #ifndef MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_
94 #define MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_ 94 #define MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_
95 95
96 #include <Audioclient.h> 96 #include <Audioclient.h>
97 #include <MMDeviceAPI.h> 97 #include <MMDeviceAPI.h>
98 98
99 #include <string> 99 #include <string>
100 100
101 #include "base/compiler_specific.h" 101 #include "base/compiler_specific.h"
102 #include "base/macros.h"
102 #include "base/memory/scoped_ptr.h" 103 #include "base/memory/scoped_ptr.h"
103 #include "base/threading/platform_thread.h" 104 #include "base/threading/platform_thread.h"
104 #include "base/threading/simple_thread.h" 105 #include "base/threading/simple_thread.h"
105 #include "base/win/scoped_co_mem.h" 106 #include "base/win/scoped_co_mem.h"
106 #include "base/win/scoped_com_initializer.h" 107 #include "base/win/scoped_com_initializer.h"
107 #include "base/win/scoped_comptr.h" 108 #include "base/win/scoped_comptr.h"
108 #include "base/win/scoped_handle.h" 109 #include "base/win/scoped_handle.h"
109 #include "media/audio/audio_io.h" 110 #include "media/audio/audio_io.h"
110 #include "media/audio/audio_parameters.h" 111 #include "media/audio/audio_parameters.h"
111 #include "media/base/media_export.h" 112 #include "media/base/media_export.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 scoped_ptr<AudioBus> audio_bus_; 241 scoped_ptr<AudioBus> audio_bus_;
241 242
242 base::win::ScopedComPtr<IAudioClock> audio_clock_; 243 base::win::ScopedComPtr<IAudioClock> audio_clock_;
243 244
244 DISALLOW_COPY_AND_ASSIGN(WASAPIAudioOutputStream); 245 DISALLOW_COPY_AND_ASSIGN(WASAPIAudioOutputStream);
245 }; 246 };
246 247
247 } // namespace media 248 } // namespace media
248 249
249 #endif // MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_ 250 #endif // MEDIA_AUDIO_WIN_AUDIO_LOW_LATENCY_OUTPUT_WIN_H_
OLDNEW
« no previous file with comments | « media/audio/win/audio_low_latency_input_win.h ('k') | media/audio/win/audio_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698