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

Unified Diff: media/audio/win/core_audio_util_win_unittest.cc

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_unittest.cc
diff --git a/media/audio/win/core_audio_util_win_unittest.cc b/media/audio/win/core_audio_util_win_unittest.cc
index 82da18822b05bba8b510f0e820b31e0b8186b311..1f5b2e01433bb74b373d3eb1893310f5c9e0b848 100644
--- a/media/audio/win/core_audio_util_win_unittest.cc
+++ b/media/audio/win/core_audio_util_win_unittest.cc
@@ -336,7 +336,7 @@ TEST_F(CoreAudioUtilWinTest, SharedModeInitialize) {
SUCCEEDED(CoreAudioUtil::GetSharedModeMixFormat(client.get(), &format)));
// Perform a shared-mode initialization without event-driven buffer handling.
- uint32 endpoint_buffer_size = 0;
+ uint32_t endpoint_buffer_size = 0;
HRESULT hr = CoreAudioUtil::SharedModeInitialize(client.get(), &format, NULL,
&endpoint_buffer_size, NULL);
EXPECT_TRUE(SUCCEEDED(hr));
@@ -392,7 +392,7 @@ TEST_F(CoreAudioUtilWinTest, CreateRenderAndCaptureClients) {
EDataFlow data[] = {eRender, eCapture};
WAVEFORMATPCMEX format;
- uint32 endpoint_buffer_size = 0;
+ uint32_t endpoint_buffer_size = 0;
for (size_t i = 0; i < arraysize(data); ++i) {
ScopedComPtr<IAudioClient> client;
@@ -440,7 +440,7 @@ TEST_F(CoreAudioUtilWinTest, FillRenderEndpointBufferWithSilence) {
EXPECT_TRUE(client.get());
WAVEFORMATPCMEX format;
- uint32 endpoint_buffer_size = 0;
+ uint32_t endpoint_buffer_size = 0;
EXPECT_TRUE(
SUCCEEDED(CoreAudioUtil::GetSharedModeMixFormat(client.get(), &format)));
CoreAudioUtil::SharedModeInitialize(client.get(), &format, NULL,

Powered by Google App Engine
This is Rietveld 408576698