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

Unified Diff: media/audio/audio_output_controller.cc

Issue 108113004: Merge 233843 "Ensure the wedge timer isn't started until after S..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/src/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_output_controller.cc
===================================================================
--- media/audio/audio_output_controller.cc (revision 240690)
+++ media/audio/audio_output_controller.cc (working copy)
@@ -198,6 +198,10 @@
power_poll_callback_.callback().Run();
#endif
+ on_more_io_data_called_ = 0;
+ AllowEntryToOnMoreIOData();
+ stream_->Start(this);
+
// For UMA tracking purposes, start the wedge detection timer. This allows us
// to record statistics about the number of wedged playbacks in the field.
//
@@ -211,13 +215,9 @@
// invalidate the previous timer.
wedge_timer_.reset(new base::OneShotTimer<AudioOutputController>());
wedge_timer_->Start(
- FROM_HERE, TimeDelta::FromSeconds(3), this,
+ FROM_HERE, TimeDelta::FromSeconds(5), this,
&AudioOutputController::WedgeCheck);
- on_more_io_data_called_ = 0;
- AllowEntryToOnMoreIOData();
- stream_->Start(this);
-
handler_->OnPlaying();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698