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

Unified Diff: chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h

Issue 2557513002: [Chromecast] Add support for different playback rates to ALSA backend (Closed)
Patch Set: use CreateEmptyBuffer Created 4 years 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: chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
diff --git a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
index b6d99dd1ade295f0f9afcc82b3e1aca5022757fb..19086b8aafd682c6ea0860b0b81b6b5361d1b077 100644
--- a/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
+++ b/chromecast/media/cma/backend/alsa/stream_mixer_alsa_input_impl.h
@@ -169,6 +169,7 @@ class StreamMixerAlsaInputImpl : public StreamMixerAlsa::InputQueue {
int fade_frames_remaining_;
int fade_out_frames_total_;
int zeroed_frames_; // current count of consecutive 0-filled frames
+ bool is_underflowing_;
OnReadyToDeleteCb delete_cb_;

Powered by Google App Engine
This is Rietveld 408576698