| 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 "base/macros.h" |
| 8 #include "media/base/android/media_codec_decoder.h" | 9 #include "media/base/android/media_codec_decoder.h" |
| 9 | 10 |
| 10 namespace media { | 11 namespace media { |
| 11 | 12 |
| 12 class AudioTimestampHelper; | 13 class AudioTimestampHelper; |
| 13 | 14 |
| 14 // Audio decoder for MediaCodecPlayer | 15 // Audio decoder for MediaCodecPlayer |
| 15 class MediaCodecAudioDecoder : public MediaCodecDecoder { | 16 class MediaCodecAudioDecoder : public MediaCodecDecoder { |
| 16 public: | 17 public: |
| 17 // For parameters see media_codec_decoder.h | 18 // For parameters see media_codec_decoder.h |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 91 |
| 91 // The time limit for the next frame to avoid underrun. | 92 // The time limit for the next frame to avoid underrun. |
| 92 base::TimeTicks next_frame_time_limit_; | 93 base::TimeTicks next_frame_time_limit_; |
| 93 | 94 |
| 94 DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder); | 95 DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder); |
| 95 }; | 96 }; |
| 96 | 97 |
| 97 } // namespace media | 98 } // namespace media |
| 98 | 99 |
| 99 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ | 100 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ |
| OLD | NEW |