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

Side by Side Diff: media/base/audio_buffer.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/base/android/media_source_player.h ('k') | media/base/audio_buffer_queue_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BASE_AUDIO_BUFFER_H_ 5 #ifndef MEDIA_BASE_AUDIO_BUFFER_H_
6 #define MEDIA_BASE_AUDIO_BUFFER_H_ 6 #define MEDIA_BASE_AUDIO_BUFFER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/aligned_memory.h" 10 #include "base/memory/aligned_memory.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time.h" 13 #include "base/time/time.h"
14 #include "media/base/media_export.h" 14 #include "media/base/media_export.h"
15 #include "media/base/sample_format.h" 15 #include "media/base/sample_format.h"
16 16
17 namespace media { 17 namespace media {
18 class AudioBus; 18 class AudioBus;
19 19
20 // An audio buffer that takes a copy of the data passed to it, holds it, and 20 // An audio buffer that takes a copy of the data passed to it, holds it, and
21 // copies it into an AudioBus when needed. Also supports an end of stream 21 // copies it into an AudioBus when needed. Also supports an end of stream
22 // marker. 22 // marker.
23 class MEDIA_EXPORT AudioBuffer 23 class MEDIA_EXPORT AudioBuffer
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 // For planar data, points to each channels data. 90 // For planar data, points to each channels data.
91 std::vector<uint8*> channel_data_; 91 std::vector<uint8*> channel_data_;
92 92
93 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioBuffer); 93 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioBuffer);
94 }; 94 };
95 95
96 } // namespace media 96 } // namespace media
97 97
98 #endif // MEDIA_BASE_AUDIO_BUFFER_H_ 98 #endif // MEDIA_BASE_AUDIO_BUFFER_H_
OLDNEW
« no previous file with comments | « media/base/android/media_source_player.h ('k') | media/base/audio_buffer_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698