Bug 28748
Summary: | Looping audio is not seamless | ||
---|---|---|---|
Product: | WebKit | Reporter: | Patrick Mueller <pmuellr> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Patrick Mueller
The audio support in WebKit allows you to specify "looping" when an audio clip is played. Unfortunately, the looping is not seamless. There is a sub-second, but very noticeable amount of silence between when the end of the clip is reached, and when the start of the clip starts playing again. Here's a sample you can run from the Develop/Show Snippet Editor in Safari:
<audio
src="http://media.freesound.org/data/0/sounds/319__Anton__Osc2_Puls_25PW_220.wav"
autoplay="true"
loop="true">
That sound clip is a simple stable sound which loops fine in Ableton Live (music product application). I can set it to loop and it'll play that horrifying tone for as long as I want with no breaks. When played with the <audio> element, a noticeable delay is heard when looping.
That sound clip is available from the following web site:
http://www.freesound.org/samplesViewSingle.php?id=319
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sam Sneddon [:gsnedders]
*** This bug has been marked as a duplicate of bug 230553 ***