DescriptionRevert regression in AudioBufferSourceNode.start() with no buffer
Fix regression introduced in
https://codereview.chromium.org/54173005. That CL prevented the user
from calling start() before setting a buffer source for the
AudioBufferSourceNode. Previously, this was allowed and when the
buffer was set it would get played. This CL brings back that behavior.
The WebAudio spec is silent on this issue, but this was raised on the
W3C audio list
(http://lists.w3.org/Archives/Public/public-audio/2014JanMar/0059.html)
and there was no apparent opposition to keeping the old behavior.
This also allows http://chromium.googlecode.com/svn/trunk/samples/audio/wavetable-synth.html to work again since it calls start with null buffer which is set later.
BUG=334237
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168161
Patch Set 1 #
Messages
Total messages: 11 (0 generated)
|