Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: media/base/sinc_resampler.h

Issue 10918098: Introduce AudioOutputResampler for browser side resampling. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Unittests! Bugs! Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/sinc_resampler.h
diff --git a/media/base/sinc_resampler.h b/media/base/sinc_resampler.h
index 029a38a857dd466efddd4ca8faf97a783019ec8f..f10dd7fd4e205a74c9d08881d71b0e480523abc1 100644
--- a/media/base/sinc_resampler.h
+++ b/media/base/sinc_resampler.h
@@ -35,6 +35,9 @@ class MEDIA_EXPORT SincResampler {
// single call to |read_cb_| for more data.
int ChunkSize();
+ // Flush all buffered data and reset internal indexes.
scherkus (not reviewing) 2012/09/10 12:47:47 indices?
DaleCurtis 2012/09/10 14:05:51 Done.
+ void Flush();
+
private:
FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, Convolve);
FRIEND_TEST_ALL_PREFIXES(SincResamplerTest, ConvolveBenchmark);

Powered by Google App Engine
This is Rietveld 408576698