Chromium Code Reviews| Index: media/base/sinc_resampler.h |
| diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h |
| index 604192fdac73ca327d4e72db4ee42c5556b570f8..bf4380eb60ce7a005a85c8e8eed49dd11403e235 100644 |
| --- a/media/base/sinc_resampler.h |
| +++ b/media/base/sinc_resampler.h |
| @@ -16,6 +16,10 @@ namespace media { |
| // SincResampler is a high-quality single-channel sample-rate converter. |
| class MEDIA_EXPORT SincResampler { |
| public: |
| + // How many samples may be requested from the callback ahead of the current |
|
DaleCurtis
2012/10/22 20:48:41
Comment still makes it sound like this is the only
Sergey Ulanov
2012/10/22 22:07:23
Done.
|
| + // position in the stream. |
| + static const int kMaximumLookAheadSize; |
| + |
| // Callback type for providing more data into the resampler. Expects |frames| |
| // of data to be rendered into |destination|; zero padded if not enough frames |
| // are available to satisfy the request. |