Chromium Code Reviews| 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) { |