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

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

Issue 18052007: Use a direct include of time headers in media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | media/audio/audio_input_controller.h » ('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_AGC_AUDIO_STREAM_H_ 5 #ifndef MEDIA_AUDIO_AGC_AUDIO_STREAM_H_
6 #define MEDIA_AUDIO_AGC_AUDIO_STREAM_H_ 6 #define MEDIA_AUDIO_AGC_AUDIO_STREAM_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
12 #include "base/timer.h" 12 #include "base/timer/timer.h"
13 #include "media/audio/audio_io.h" 13 #include "media/audio/audio_io.h"
14 14
15 // The template based AgcAudioStream implements platform-independent parts 15 // The template based AgcAudioStream implements platform-independent parts
16 // of the AudioInterface interface. Supported interfaces to pass as 16 // of the AudioInterface interface. Supported interfaces to pass as
17 // AudioInterface are AudioIntputStream and AudioOutputStream. Each platform- 17 // AudioInterface are AudioIntputStream and AudioOutputStream. Each platform-
18 // dependent implementation should derive from this class. 18 // dependent implementation should derive from this class.
19 // 19 //
20 // Usage example (on Windows): 20 // Usage example (on Windows):
21 // 21 //
22 // class WASAPIAudioInputStream : public AgcAudioStream<AudioInputStream> { 22 // class WASAPIAudioInputStream : public AgcAudioStream<AudioInputStream> {
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 // Protects |normalized_volume_| . 200 // Protects |normalized_volume_| .
201 base::Lock lock_; 201 base::Lock lock_;
202 202
203 DISALLOW_COPY_AND_ASSIGN(AgcAudioStream<AudioInterface>); 203 DISALLOW_COPY_AND_ASSIGN(AgcAudioStream<AudioInterface>);
204 }; 204 };
205 205
206 } // namespace media 206 } // namespace media
207 207
208 #endif // MEDIA_AUDIO_AGC_AUDIO_STREAM_H_ 208 #endif // MEDIA_AUDIO_AGC_AUDIO_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | media/audio/audio_input_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698