Summary: | WebKit uses the duration argument passed to AudioBufferSourceNode.start as the length of the buffer when looping | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ehsan Akhgari [:ehsan] <ehsan> |
Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED --- | ||
Severity: | Normal | CC: | crogers |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Ehsan Akhgari [:ehsan]
2013-03-10 20:29:33 PDT
I can reproduce this in Chrome Canary, but it seems like WebKit Nightly cannot decode ogg files, so I cannot run the test there. Furthermore, the spec says: "in loop mode will continue playing until it reaches the actualLoopEnd position in the buffer (or the end of the buffer), at which point it will wrap back around to the actualLoopStart position in the buffer, and continue playing according to this pattern", which seems to suggest that the duration argument should be completely ignored in looping mode. Let me have a look. There may be some work in the spec we need to do. (In reply to comment #3) > Let me have a look. There may be some work in the spec we need to do. Are you planning to change the spec for this? I'm currently implementing what the current spec says, and this just seems like a bug in WebKit. (In reply to comment #4) > (In reply to comment #3) > > Let me have a look. There may be some work in the spec we need to do. > > Are you planning to change the spec for this? I'm currently implementing what the current spec says, and this just seems like a bug in WebKit. Let me take a closer look today |