Index: media/base/sinc_resampler.h |
diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h |
index 604192fdac73ca327d4e72db4ee42c5556b570f8..e7e1ef61494f5fd8d06ae8b4ef86fe3a3f44beac 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 |
+ // position in the stream. |
+ static const int kLookAheadSize; |
DaleCurtis
2012/10/18 00:45:01
Hmm, this is a misleading comment / name, the prim
Sergey Ulanov
2012/10/19 20:54:30
Done.
|
+ |
// 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. |