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

Side by Side Diff: media/base/audio_timestamp_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 5 years 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_splicer_unittest.cc ('k') | media/base/audio_timestamp_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 (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_BASE_AUDIO_TIMESTAMP_HELPER_H_ 5 #ifndef MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
6 #define MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_ 6 #define MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
7 7
8 #include <stdint.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/time/time.h" 11 #include "base/time/time.h"
10 #include "media/base/media_export.h" 12 #include "media/base/media_export.h"
11 13
12 namespace media { 14 namespace media {
13 15
14 // Generates timestamps for a sequence of audio sample frames. This class should 16 // Generates timestamps for a sequence of audio sample frames. This class should
15 // be used any place timestamps need to be calculated for a sequence of audio 17 // be used any place timestamps need to be calculated for a sequence of audio
16 // samples. It helps avoid timestamps inaccuracies caused by rounding/truncation 18 // samples. It helps avoid timestamps inaccuracies caused by rounding/truncation
17 // in repeated sample count to timestamp conversions. 19 // in repeated sample count to timestamp conversions.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 66
65 // Number of frames accumulated by AddFrames() calls. 67 // Number of frames accumulated by AddFrames() calls.
66 int64_t frame_count_; 68 int64_t frame_count_;
67 69
68 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioTimestampHelper); 70 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioTimestampHelper);
69 }; 71 };
70 72
71 } // namespace media 73 } // namespace media
72 74
73 #endif 75 #endif
OLDNEW
« no previous file with comments | « media/base/audio_splicer_unittest.cc ('k') | media/base/audio_timestamp_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698