OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |