| 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 #include "media/base/audio_fifo.h" | 5 #include "media/base/audio_fifo.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace media { | 9 namespace media { |
| 10 | 10 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 return true; | 125 return true; |
| 126 } | 126 } |
| 127 | 127 |
| 128 void AudioFifo::Clear() { | 128 void AudioFifo::Clear() { |
| 129 frames_in_fifo_ = 0; | 129 frames_in_fifo_ = 0; |
| 130 read_pos_ = 0; | 130 read_pos_ = 0; |
| 131 write_pos_ = 0; | 131 write_pos_ = 0; |
| 132 } | 132 } |
| 133 | 133 |
| 134 } // namespace media | 134 } // namespace media |
| OLD | NEW |