diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 01:22:33 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-16 01:22:33 +0000 |
commit | 30973dfd8a5c23cce0d726c6fdd8c298ad94f324 (patch) | |
tree | ffb94630f5ab3d9dbb8b1bb3326324dc49408a48 /webkit/glue/media/buffered_data_source.cc | |
parent | a7867d3df5de7ac0ec6c69d6b721a6b581ba142b (diff) | |
download | chromium_src-30973dfd8a5c23cce0d726c6fdd8c298ad94f324.zip chromium_src-30973dfd8a5c23cce0d726c6fdd8c298ad94f324.tar.gz chromium_src-30973dfd8a5c23cce0d726c6fdd8c298ad94f324.tar.bz2 |
Removing a synchronous pause that reduces impact on the IO thread
Audio pause is implemented synchronously in the browser process.
This can easily choke the IO thread when user does a series of
pause of looping a very short audio / video. This change will
make the pause action asynchronous. The drawback of this change
is that we cannot stop audio playback immediately as we receive
the pause request.
This is still an improvement over chrome 3.0 as the "playback"
period after pause is noticably shorter.
Review URL: http://codereview.chromium.org/279010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media/buffered_data_source.cc')
0 files changed, 0 insertions, 0 deletions