WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
180388
Starting a looped AudioBufferSourceNode with offset > duration throws InvalidStateError
https://bugs.webkit.org/show_bug.cgi?id=180388
Summary
Starting a looped AudioBufferSourceNode with offset > duration throws Invalid...
Márton Salomváry
Reported
2017-12-04 17:44:37 PST
Created
attachment 328418
[details]
Simple test.html demonstrating the bug Given a buffer of 15 seconds start() on the last line in this example throws InvalidStateError: The object is in an invalid state. const source = context.createBufferSource() source.buffer = buffer source.loop = true source.connect(context.destination) source.start(0, 20) Note: it does not throw when the offset is less than the length of the buffer. Expected: start the looped playback with 5 seconds initial offset. My understanding of the standard and the behavior in Chrome and Firefox suggest that this is a bug. See:
https://webaudio.github.io/web-audio-api/#dom-audiobuffersourcenode-start
Attachments
Simple test.html demonstrating the bug
(738 bytes, text/plain)
2017-12-04 17:44 PST
,
Márton Salomváry
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug