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

Side by Side Diff: media/audio/audio_output_controller.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
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_OUTPUT_CONTROLLER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_
7 7
8 #include "base/atomic_ref_count.h" 8 #include "base/atomic_ref_count.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.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 #include "media/audio/audio_manager.h" 14 #include "media/audio/audio_manager.h"
15 #include "media/audio/audio_source_diverter.h" 15 #include "media/audio/audio_source_diverter.h"
16 #include "media/audio/simple_sources.h" 16 #include "media/audio/simple_sources.h"
17 #include "media/base/media_export.h" 17 #include "media/base/media_export.h"
18 18
19 // An AudioOutputController controls an AudioOutputStream and provides data 19 // An AudioOutputController controls an AudioOutputStream and provides data
20 // to this output stream. It has an important function that it executes 20 // to this output stream. It has an important function that it executes
21 // audio operations like play, pause, stop, etc. on a separate thread, 21 // audio operations like play, pause, stop, etc. on a separate thread,
22 // namely the audio manager thread. 22 // namely the audio manager thread.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 // EventHandler::OnAudbile() to be called whenever a transition to a period of 237 // EventHandler::OnAudbile() to be called whenever a transition to a period of
238 // silence or non-silence is detected. 238 // silence or non-silence is detected.
239 scoped_ptr<AudioSilenceDetector> silence_detector_; 239 scoped_ptr<AudioSilenceDetector> silence_detector_;
240 240
241 DISALLOW_COPY_AND_ASSIGN(AudioOutputController); 241 DISALLOW_COPY_AND_ASSIGN(AudioOutputController);
242 }; 242 };
243 243
244 } // namespace media 244 } // namespace media
245 245
246 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ 246 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « media/audio/audio_low_latency_input_output_unittest.cc ('k') | media/audio/audio_output_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698