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

Unified Diff: media/base/audio_converter.h

Issue 1211203006: Fixes issue where Web Speech API drops a frame every 5.1 seconds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback from Dale Created 5 years, 5 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/audio_converter.h
diff --git a/media/base/audio_converter.h b/media/base/audio_converter.h
index b12dcb95e7d7193061cc7402b2b97a0d66eb778b..0b546dca2c4d7cb99c427c461443fd7c6b734cce 100644
--- a/media/base/audio_converter.h
+++ b/media/base/audio_converter.h
@@ -90,6 +90,9 @@ class MEDIA_EXPORT AudioConverter {
// to each input's ProvideInput for more data.
int ChunkSize() const;
+ // See SincResampler::PrimeWithSilence.
+ void PrimeWithSilence();
+
bool empty() const { return transform_inputs_.empty(); }
private:

Powered by Google App Engine
This is Rietveld 408576698