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

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

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « media/audio/win/audio_unified_win_unittest.cc ('k') | media/base/android/media_codec_bridge.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 // Utility methods for the Core Audio API on Windows. 5 // Utility methods for the Core Audio API on Windows.
6 // Always ensure that Core Audio is supported before using these methods. 6 // Always ensure that Core Audio is supported before using these methods.
7 // Use media::CoreAudioIsSupported() for this purpose. 7 // Use media::CoreAudioIsSupported() for this purpose.
8 // Also, all methods must be called on a valid COM thread. This can be done 8 // Also, all methods must be called on a valid COM thread. This can be done
9 // by using the base::win::ScopedCOMInitializer helper class. 9 // by using the base::win::ScopedCOMInitializer helper class.
10 10
11 #ifndef MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_ 11 #ifndef MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_
12 #define MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_ 12 #define MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_
13 13
14 #include <audioclient.h> 14 #include <audioclient.h>
15 #include <mmdeviceapi.h> 15 #include <mmdeviceapi.h>
16 #include <string> 16 #include <string>
17 17
18 #include "base/basictypes.h" 18 #include "base/basictypes.h"
19 #include "base/time.h" 19 #include "base/time/time.h"
20 #include "base/win/scoped_comptr.h" 20 #include "base/win/scoped_comptr.h"
21 #include "media/audio/audio_device_name.h" 21 #include "media/audio/audio_device_name.h"
22 #include "media/audio/audio_parameters.h" 22 #include "media/audio/audio_parameters.h"
23 #include "media/base/media_export.h" 23 #include "media/base/media_export.h"
24 24
25 using base::win::ScopedComPtr; 25 using base::win::ScopedComPtr;
26 26
27 namespace media { 27 namespace media {
28 28
29 class MEDIA_EXPORT CoreAudioUtil { 29 class MEDIA_EXPORT CoreAudioUtil {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 private: 183 private:
184 CoreAudioUtil() {} 184 CoreAudioUtil() {}
185 ~CoreAudioUtil() {} 185 ~CoreAudioUtil() {}
186 DISALLOW_COPY_AND_ASSIGN(CoreAudioUtil); 186 DISALLOW_COPY_AND_ASSIGN(CoreAudioUtil);
187 }; 187 };
188 188
189 } // namespace media 189 } // namespace media
190 190
191 #endif // MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_ 191 #endif // MEDIA_AUDIO_WIN_CORE_AUDIO_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « media/audio/win/audio_unified_win_unittest.cc ('k') | media/base/android/media_codec_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698