diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 19:20:58 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 19:20:58 +0000 |
commit | 6ef0feb87c69e28e81dd7ca0e45dc402f181619a (patch) | |
tree | b546512382dccc9f585ce30ed14e56e57febfcbe /chrome/browser | |
parent | c688093ff2ce1f243eca3bb7d0786986472e7b08 (diff) | |
download | chromium_src-6ef0feb87c69e28e81dd7ca0e45dc402f181619a.zip chromium_src-6ef0feb87c69e28e81dd7ca0e45dc402f181619a.tar.gz chromium_src-6ef0feb87c69e28e81dd7ca0e45dc402f181619a.tar.bz2 |
Pad time to next audio data write to compensate for nanosleep inaccuracy on linux.
Nanosleep on linux can miss its deadline by up to 10ms (according to the manpage). Pad 20ms (2x that amount) to give room for missed deadlines.
BUG=23974
TEST=listened to previously stuttering audio clip on low-end hardware.
Review URL: http://codereview.chromium.org/271081
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
0 files changed, 0 insertions, 0 deletions