| 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 // AudioRendererAlgorithm buffers and transforms audio data. The owner of | 5 // AudioRendererAlgorithm buffers and transforms audio data. The owner of |
| 6 // this object provides audio data to the object through EnqueueBuffer() and | 6 // this object provides audio data to the object through EnqueueBuffer() and |
| 7 // requests data from the buffer via FillBuffer(). | 7 // requests data from the buffer via FillBuffer(). |
| 8 // | 8 // |
| 9 // This class is *not* thread-safe. Calls to enqueue and retrieve data must be | 9 // This class is *not* thread-safe. Calls to enqueue and retrieve data must be |
| 10 // locked if called from multiple threads. | 10 // locked if called from multiple threads. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 // searched for a block (|optimal_block_|) that is most similar to | 196 // searched for a block (|optimal_block_|) that is most similar to |
| 197 // |target_block_|. | 197 // |target_block_|. |
| 198 scoped_ptr<AudioBus> target_block_; | 198 scoped_ptr<AudioBus> target_block_; |
| 199 | 199 |
| 200 DISALLOW_COPY_AND_ASSIGN(AudioRendererAlgorithm); | 200 DISALLOW_COPY_AND_ASSIGN(AudioRendererAlgorithm); |
| 201 }; | 201 }; |
| 202 | 202 |
| 203 } // namespace media | 203 } // namespace media |
| 204 | 204 |
| 205 #endif // MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_H_ | 205 #endif // MEDIA_FILTERS_AUDIO_RENDERER_ALGORITHM_H_ |
| OLD | NEW |