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

Side by Side Diff: media/audio/win/audio_low_latency_input_win_unittest.cc

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef 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
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 #include <windows.h> 5 #include <windows.h>
6 #include <mmsystem.h> 6 #include <mmsystem.h>
7 #include <stddef.h>
8 #include <stdint.h>
7 9
8 #include "base/environment.h" 10 #include "base/environment.h"
9 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 15 #include "base/path_service.h"
13 #include "base/test/test_timeouts.h" 16 #include "base/test/test_timeouts.h"
14 #include "base/win/scoped_com_initializer.h" 17 #include "base/win/scoped_com_initializer.h"
15 #include "media/audio/audio_io.h" 18 #include "media/audio/audio_io.h"
16 #include "media/audio/audio_manager_base.h" 19 #include "media/audio/audio_manager_base.h"
17 #include "media/audio/audio_unittest_util.h" 20 #include "media/audio/audio_unittest_util.h"
18 #include "media/audio/win/audio_low_latency_input_win.h" 21 #include "media/audio/win/audio_low_latency_input_win.h"
19 #include "media/audio/win/core_audio_util_win.h" 22 #include "media/audio/win/core_audio_util_win.h"
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 WriteToFileAudioSink file_sink(file_name, aisw.bits_per_sample()); 465 WriteToFileAudioSink file_sink(file_name, aisw.bits_per_sample());
463 VLOG(0) << ">> Speak into the default microphone while recording."; 466 VLOG(0) << ">> Speak into the default microphone while recording.";
464 ais->Start(&file_sink); 467 ais->Start(&file_sink);
465 base::PlatformThread::Sleep(TestTimeouts::action_timeout()); 468 base::PlatformThread::Sleep(TestTimeouts::action_timeout());
466 ais->Stop(); 469 ais->Stop();
467 VLOG(0) << ">> Recording has stopped."; 470 VLOG(0) << ">> Recording has stopped.";
468 ais.Close(); 471 ais.Close();
469 } 472 }
470 473
471 } // namespace media 474 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/win/audio_low_latency_input_win.h ('k') | media/audio/win/audio_low_latency_output_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698