[Webkit-unassigned] [Bug 181939] New: AudioBufferSourceNode start method causes OfflineAudioContext to start running
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 22 12:31:57 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=181939
Bug ID: 181939
Summary: AudioBufferSourceNode start method causes
OfflineAudioContext to start running
Product: WebKit
Version: Safari 11
Hardware: iPhone / iPad
OS: iOS 11
Status: NEW
Severity: Major
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: yotammann at gmail.com
The OfflineAudioContext.state should be "suspended" and not increment the currentTime until `startRendering` is invoked. The issue is that as soon as AudioBufferSourceNode.start is invoked, the OfflineAudioContext.state returns "running" and the OfflineAudioContext.currentTime starts incrementing usually much faster than real time. This makes it impossible to schedule anything after an AudioBufferSourceNode is started since the scheduled time will usually be in the past.
Test case: https://jsfiddle.net/3h8e3bcg/
Should print to the console: "should be suspended: suspended" then "should still be suspended: suspended"
PASSES on Chrome, Firefox and Safari 11 on Desktop.
FAILS on Safari on iOS 11. prints: "should be suspended: suspended" then "should still be suspended: running"
--
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/20180122/0b38e008/attachment.html>
More information about the webkit-unassigned
mailing list