OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/macros.h" | 11 #include "base/macros.h" |
9 #include "media/base/android/media_codec_decoder.h" | 12 #include "media/base/android/media_codec_decoder.h" |
10 | 13 |
11 namespace media { | 14 namespace media { |
12 | 15 |
13 class AudioTimestampHelper; | 16 class AudioTimestampHelper; |
14 | 17 |
15 // Audio decoder for MediaCodecPlayer | 18 // Audio decoder for MediaCodecPlayer |
16 class MediaCodecAudioDecoder : public MediaCodecDecoder { | 19 class MediaCodecAudioDecoder : public MediaCodecDecoder { |
17 public: | 20 public: |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 94 |
92 // The time limit for the next frame to avoid underrun. | 95 // The time limit for the next frame to avoid underrun. |
93 base::TimeTicks next_frame_time_limit_; | 96 base::TimeTicks next_frame_time_limit_; |
94 | 97 |
95 DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder); | 98 DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder); |
96 }; | 99 }; |
97 | 100 |
98 } // namespace media | 101 } // namespace media |
99 | 102 |
100 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ | 103 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ |
OLD | NEW |