[Webkit-unassigned] [Bug 180130] Repeated stop() throws InvalidStateError on AudioBufferSourceNode
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jan 12 14:34:37 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=180130
jonobr1 <jonobrandel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonobrandel at gmail.com
--- Comment #1 from jonobr1 <jonobrandel at gmail.com> ---
I can confirm this error as well on Safari 12.0.2 on my Macbook Pro 13". The w3c specification on the Web Audio API says:
"
If stop is called again after already having been called, the last invocation will be the only one applied; stop times set by previous calls will not be applied, unless the buffer has already stopped prior to any subsequent calls.
"
https://www.w3.org/TR/webaudio/#dom-audioscheduledsourcenode-stop
So, I agree with Márton Salomváry that I expect the audio for that node to be stopped at the latest invocation of stop, not the Invalid State Error as described.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190112/bb841ac8/attachment.html>
More information about the webkit-unassigned
mailing list