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

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: 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..383a5d6e98683bee26dc5df1748f751b63c7153c 100644
--- a/media/base/audio_converter.h
+++ b/media/base/audio_converter.h
@@ -92,6 +92,8 @@ class MEDIA_EXPORT AudioConverter {
bool empty() const { return transform_inputs_.empty(); }
+ void PrimeWithSilence();
+
private:
// Provides input to the MultiChannelResampler. Called by the resampler when
// more data is necessary.

Powered by Google App Engine
This is Rietveld 408576698