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

Side by Side Diff: components/audio_modem/audio_recorder_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « components/audio_modem/audio_recorder_impl.cc ('k') | components/audio_modem/modem_impl.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/audio_modem/audio_recorder.h" 5 #include "components/audio_modem/audio_recorder.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/macros.h"
10 #include "base/memory/aligned_memory.h" 13 #include "base/memory/aligned_memory.h"
11 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "build/build_config.h"
12 #include "components/audio_modem/audio_recorder_impl.h" 16 #include "components/audio_modem/audio_recorder_impl.h"
13 #include "components/audio_modem/public/audio_modem_types.h" 17 #include "components/audio_modem/public/audio_modem_types.h"
14 #include "components/audio_modem/test/random_samples.h" 18 #include "components/audio_modem/test/random_samples.h"
15 #include "content/public/test/test_browser_thread_bundle.h" 19 #include "content/public/test/test_browser_thread_bundle.h"
16 #include "media/audio/audio_manager.h" 20 #include "media/audio/audio_manager.h"
17 #include "media/audio/audio_manager_base.h" 21 #include "media/audio/audio_manager_base.h"
18 #include "media/base/audio_bus.h" 22 #include "media/base/audio_bus.h"
19 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
20 24
21 namespace { 25 namespace {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 CreateRecorder(kNumSamples); 262 CreateRecorder(kNumSamples);
259 263
260 RecordAndVerifySamples(); 264 RecordAndVerifySamples();
261 265
262 DeleteRecorder(); 266 DeleteRecorder();
263 } 267 }
264 268
265 // TODO(rkc): Add tests with recording different sample rates. 269 // TODO(rkc): Add tests with recording different sample rates.
266 270
267 } // namespace audio_modem 271 } // namespace audio_modem
OLDNEW
« no previous file with comments | « components/audio_modem/audio_recorder_impl.cc ('k') | components/audio_modem/modem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698