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

Side by Side Diff: media/base/audio_discard_helper.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 4 years, 12 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
« no previous file with comments | « media/base/audio_decoder_config.h ('k') | media/base/audio_discard_helper_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DISCARD_HELPER_H_ 5 #ifndef MEDIA_BASE_AUDIO_DISCARD_HELPER_H_
6 #define MEDIA_BASE_AUDIO_DISCARD_HELPER_H_ 6 #define MEDIA_BASE_AUDIO_DISCARD_HELPER_H_
7 7
8 #include <stddef.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 #include "media/base/audio_timestamp_helper.h" 13 #include "media/base/audio_timestamp_helper.h"
12 #include "media/base/decoder_buffer.h" 14 #include "media/base/decoder_buffer.h"
13 #include "media/base/media_export.h" 15 #include "media/base/media_export.h"
14 #include "media/base/timestamp_constants.h" 16 #include "media/base/timestamp_constants.h"
15 17
16 namespace media { 18 namespace media {
17 19
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // from the next buffer. The index at which to start discarding is calculated 99 // from the next buffer. The index at which to start discarding is calculated
98 // by subtracting |delayed_end_discard_| from |decoder_delay_|. 100 // by subtracting |delayed_end_discard_| from |decoder_delay_|.
99 size_t delayed_end_discard_; 101 size_t delayed_end_discard_;
100 102
101 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioDiscardHelper); 103 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioDiscardHelper);
102 }; 104 };
103 105
104 } // namespace media 106 } // namespace media
105 107
106 #endif // MEDIA_BASE_AUDIO_DISCARD_HELPER_H_ 108 #endif // MEDIA_BASE_AUDIO_DISCARD_HELPER_H_
OLDNEW
« no previous file with comments | « media/base/audio_decoder_config.h ('k') | media/base/audio_discard_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698