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

Side by Side Diff: media/audio/linux/alsa_output.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 | « media/audio/linux/alsa_input.cc ('k') | media/audio/linux/alsa_output.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 // Creates an output stream based on the ALSA PCM interface. 5 // Creates an output stream based on the ALSA PCM interface.
6 // 6 //
7 // On device write failure, the stream will move itself to an invalid state. 7 // On device write failure, the stream will move itself to an invalid state.
8 // No more data will be pulled from the data source, or written to the device. 8 // No more data will be pulled from the data source, or written to the device.
9 // All calls to public API functions will either no-op themselves, or return an 9 // All calls to public API functions will either no-op themselves, or return an
10 // error if possible. Specifically, If the stream is in an error state, Open() 10 // error if possible. Specifically, If the stream is in an error state, Open()
(...skipping 11 matching lines...) Expand all
22 #define MEDIA_AUDIO_LINUX_ALSA_OUTPUT_H_ 22 #define MEDIA_AUDIO_LINUX_ALSA_OUTPUT_H_
23 23
24 #include <alsa/asoundlib.h> 24 #include <alsa/asoundlib.h>
25 25
26 #include <string> 26 #include <string>
27 27
28 #include "base/compiler_specific.h" 28 #include "base/compiler_specific.h"
29 #include "base/gtest_prod_util.h" 29 #include "base/gtest_prod_util.h"
30 #include "base/memory/scoped_ptr.h" 30 #include "base/memory/scoped_ptr.h"
31 #include "base/memory/weak_ptr.h" 31 #include "base/memory/weak_ptr.h"
32 #include "base/time.h" 32 #include "base/time/time.h"
33 #include "media/audio/audio_io.h" 33 #include "media/audio/audio_io.h"
34 #include "media/audio/audio_parameters.h" 34 #include "media/audio/audio_parameters.h"
35 35
36 namespace base { 36 namespace base {
37 class MessageLoop; 37 class MessageLoop;
38 } 38 }
39 39
40 namespace media { 40 namespace media {
41 41
42 class AlsaWrapper; 42 class AlsaWrapper;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 219
220 DISALLOW_COPY_AND_ASSIGN(AlsaPcmOutputStream); 220 DISALLOW_COPY_AND_ASSIGN(AlsaPcmOutputStream);
221 }; 221 };
222 222
223 MEDIA_EXPORT std::ostream& operator<<(std::ostream& os, 223 MEDIA_EXPORT std::ostream& operator<<(std::ostream& os,
224 AlsaPcmOutputStream::InternalState); 224 AlsaPcmOutputStream::InternalState);
225 225
226 }; // namespace media 226 }; // namespace media
227 227
228 #endif // MEDIA_AUDIO_LINUX_ALSA_OUTPUT_H_ 228 #endif // MEDIA_AUDIO_LINUX_ALSA_OUTPUT_H_
OLDNEW
« no previous file with comments | « media/audio/linux/alsa_input.cc ('k') | media/audio/linux/alsa_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698