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

Unified Diff: media/audio/linux/alsa_output.cc

Issue 316005: Quick fix for Alsa stutter - Wake up sooner.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
« 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/linux/alsa_output.cc
===================================================================
--- media/audio/linux/alsa_output.cc (revision 29677)
+++ media/audio/linux/alsa_output.cc (working copy)
@@ -629,6 +629,7 @@
if (current_packet->size == 0) {
next_fill_time_ms = std::max(next_fill_time_ms, kNoDataSleepMilliseconds);
}
+ next_fill_time_ms /= 2; // TODO(fbarchard): Remove this hack.
scherkus (not reviewing) 2009/10/22 01:42:30 nit: should have two spaces between ; and // also
// Only schedule more reads/writes if we are still in the playing state.
if (shared_data_.state() == kIsPlaying) {
« 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