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

Side by Side Diff: media/audio/audio_input_controller.h

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
« no previous file with comments | « media/audio/audio_device_thread.cc ('k') | media/audio/audio_input_controller_unittest.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 (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 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 6 #define MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <string> 11 #include <string>
12
9 #include "base/atomicops.h" 13 #include "base/atomicops.h"
10 #include "base/callback.h" 14 #include "base/callback.h"
11 #include "base/files/file.h" 15 #include "base/files/file.h"
12 #include "base/macros.h" 16 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
15 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
16 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
17 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
18 #include "base/timer/timer.h" 22 #include "base/timer/timer.h"
23 #include "build/build_config.h"
19 #include "media/audio/audio_io.h" 24 #include "media/audio/audio_io.h"
20 #include "media/audio/audio_manager_base.h" 25 #include "media/audio/audio_manager_base.h"
21 #include "media/audio/audio_parameters.h" 26 #include "media/audio/audio_parameters.h"
22 #include "media/base/audio_bus.h" 27 #include "media/base/audio_bus.h"
23 28
24 // An AudioInputController controls an AudioInputStream and records data 29 // An AudioInputController controls an AudioInputStream and records data
25 // from this input stream. The two main methods are Record() and Close() and 30 // from this input stream. The two main methods are Record() and Close() and
26 // they are both executed on the audio thread which is injected by the two 31 // they are both executed on the audio thread which is injected by the two
27 // alternative factory methods, Create() or CreateLowLatency(). 32 // alternative factory methods, Create() or CreateLowLatency().
28 // 33 //
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 391
387 // Used for audio debug recordings. Accessed on audio thread. 392 // Used for audio debug recordings. Accessed on audio thread.
388 AudioInputWriter* input_writer_; 393 AudioInputWriter* input_writer_;
389 394
390 DISALLOW_COPY_AND_ASSIGN(AudioInputController); 395 DISALLOW_COPY_AND_ASSIGN(AudioInputController);
391 }; 396 };
392 397
393 } // namespace media 398 } // namespace media
394 399
395 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_ 400 #endif // MEDIA_AUDIO_AUDIO_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « media/audio/audio_device_thread.cc ('k') | media/audio/audio_input_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698