diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 17:50:25 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 17:50:25 +0000 |
commit | 613c37ff0448b7767006137f3ea396c94b895fdc (patch) | |
tree | 27cf1e853dbfc8739f3e0400431e066acf770ab3 /chrome/browser/zygote_main_linux.cc | |
parent | 272c3c15fa918060027b63a160d2e170c9088cf5 (diff) | |
download | chromium_src-613c37ff0448b7767006137f3ea396c94b895fdc.zip chromium_src-613c37ff0448b7767006137f3ea396c94b895fdc.tar.gz chromium_src-613c37ff0448b7767006137f3ea396c94b895fdc.tar.bz2 |
Fix the issue with audio ended event on Ubuntu 10.10.
The problem is that snd_pcm_avail_update() returns (alsa_buffer_frames_ - 1) even when the buffer is empty. Here I removed snd_pcm_avail_update() from delay calculation, so that hardware_delay is just the delay returned by snd_pcm_delay()
BUG=59585
TEST=http://jsfiddle.net/x5VRq/1/ on Ubuntu 10.10.
Review URL: http://codereview.chromium.org/3854002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63066 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_main_linux.cc')
0 files changed, 0 insertions, 0 deletions