| Index: media/base/sinc_resampler.h
|
| diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h
|
| index 029a38a857dd466efddd4ca8faf97a783019ec8f..854dfba4bcc434dccba9c1f9cc2e2053f1003e1b 100644
|
| --- a/media/base/sinc_resampler.h
|
| +++ b/media/base/sinc_resampler.h
|
| @@ -35,7 +35,11 @@ class MEDIA_EXPORT SincResampler {
|
| // single call to |read_cb_| for more data.
|
| int ChunkSize();
|
|
|
| + // Flush all buffered data and reset internal indexes.
|
| + void Flush();
|
| +
|
| private:
|
| + FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, Flush);
|
| FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, Convolve);
|
| FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, ConvolveBenchmark);
|
|
|
|
|