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

Side by Side Diff: media/base/audio_decoder_config.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_converter_unittest.cc ('k') | media/base/audio_discard_helper.h » ('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_DECODER_CONFIG_H_ 5 #ifndef MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
6 #define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ 6 #define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
13 #include "base/macros.h"
11 #include "base/time/time.h" 14 #include "base/time/time.h"
12 #include "media/base/channel_layout.h" 15 #include "media/base/channel_layout.h"
13 #include "media/base/media_export.h" 16 #include "media/base/media_export.h"
14 #include "media/base/sample_format.h" 17 #include "media/base/sample_format.h"
15 18
16 namespace media { 19 namespace media {
17 20
18 enum AudioCodec { 21 enum AudioCodec {
19 // These values are histogrammed over time; do not change their ordinal 22 // These values are histogrammed over time; do not change their ordinal
20 // values. When deleting a codec replace it with a dummy value; when adding a 23 // values. When deleting a codec replace it with a dummy value; when adding a
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 int codec_delay_; 130 int codec_delay_;
128 131
129 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler 132 // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler
130 // generated copy constructor and assignment operator. Since the extra data is 133 // generated copy constructor and assignment operator. Since the extra data is
131 // typically small, the performance impact is minimal. 134 // typically small, the performance impact is minimal.
132 }; 135 };
133 136
134 } // namespace media 137 } // namespace media
135 138
136 #endif // MEDIA_BASE_AUDIO_DECODER_CONFIG_H_ 139 #endif // MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
OLDNEW
« no previous file with comments | « media/base/audio_converter_unittest.cc ('k') | media/base/audio_discard_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698