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

Unified Diff: media/audio/win/core_audio_util_win.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 side-by-side diff with in-line comments
Download patch
Index: media/audio/win/core_audio_util_win.h
diff --git a/media/audio/win/core_audio_util_win.h b/media/audio/win/core_audio_util_win.h
index 6ad1436555e07e5a8a4fa81c322b8210522a39a0..3ca7ff440a8cf481cf5a92e1be4b5176d5060227 100644
--- a/media/audio/win/core_audio_util_win.h
+++ b/media/audio/win/core_audio_util_win.h
@@ -15,7 +15,6 @@
#include <mmdeviceapi.h>
#include <string>
-#include "base/basictypes.h"
#include "base/time/time.h"
#include "base/win/scoped_comptr.h"
#include "media/audio/audio_device_name.h"
@@ -30,7 +29,7 @@ namespace media {
// Represents audio channel configuration constants as understood by Windows.
// E.g. KSAUDIO_SPEAKER_MONO. For a list of possible values see:
// http://msdn.microsoft.com/en-us/library/windows/hardware/ff537083(v=vs.85).aspx
-typedef uint32 ChannelConfig;
+typedef uint32_t ChannelConfig;
class MEDIA_EXPORT CoreAudioUtil {
public:
@@ -205,7 +204,7 @@ class MEDIA_EXPORT CoreAudioUtil {
static HRESULT SharedModeInitialize(IAudioClient* client,
const WAVEFORMATPCMEX* format,
HANDLE event_handle,
- uint32* endpoint_buffer_size,
+ uint32_t* endpoint_buffer_size,
const GUID* session_guid);
// TODO(henrika): add ExclusiveModeInitialize(...)

Powered by Google App Engine
This is Rietveld 408576698