| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FILTERS_AUDIO_CLOCK_H_ | 5 #ifndef MEDIA_FILTERS_AUDIO_CLOCK_H_ |
| 6 #define MEDIA_FILTERS_AUDIO_CLOCK_H_ | 6 #define MEDIA_FILTERS_AUDIO_CLOCK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <deque> | 10 #include <deque> |
| 9 | 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 12 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
| 13 | 15 |
| 14 namespace media { | 16 namespace media { |
| 15 | 17 |
| 16 // Models a queue of buffered audio in a playback pipeline for use with | 18 // Models a queue of buffered audio in a playback pipeline for use with |
| 17 // estimating the amount of delay in wall clock time. Takes changes in playback | 19 // estimating the amount of delay in wall clock time. Takes changes in playback |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 127 |
| 126 base::TimeDelta front_timestamp_; | 128 base::TimeDelta front_timestamp_; |
| 127 base::TimeDelta back_timestamp_; | 129 base::TimeDelta back_timestamp_; |
| 128 | 130 |
| 129 DISALLOW_COPY_AND_ASSIGN(AudioClock); | 131 DISALLOW_COPY_AND_ASSIGN(AudioClock); |
| 130 }; | 132 }; |
| 131 | 133 |
| 132 } // namespace media | 134 } // namespace media |
| 133 | 135 |
| 134 #endif // MEDIA_FILTERS_AUDIO_CLOCK_H_ | 136 #endif // MEDIA_FILTERS_AUDIO_CLOCK_H_ |
| OLD | NEW |