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

Issue 160283: Fixes an audio playback regression caused by seeking in audio/video media. (Closed)

Created:
11 years, 4 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixes an audio playback regression caused by seeking in audio/video media. This is a temporary fix to a much larger problem of dealing with Chrome's audio IPC layer. Since a seek is a small amount of time, we keep the audio IPC conversation going by writing 8k of zeros. Before we were telling the audio IPC layer that we were out of data, which technically was a lie (we were just seeking), and as a result the conversation died at that point. TEST=seek around in a video, audio should keep playing and remain in sync BUG=17917

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M chrome/renderer/media/audio_renderer_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/filters/audio_renderer_base.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
scherkus (not reviewing)
11 years, 4 months ago (2009-07-28 19:59:05 UTC) #1
Alpha Left Google
11 years, 4 months ago (2009-07-28 20:51:38 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698