This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20728 - make 'when' parameter of start() and stop() optional
Summary: make 'when' parameter of start() and stop() optional
Status: CLOSED FIXED
Alias: None
Product: AudioWG
Classification: Unclassified
Component: Web Audio API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: Ehsan Akhgari [:ehsan]
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 10:32 UTC by Olivier Thereaux
Modified: 2013-05-14 10:25 UTC (History)
1 user (show)

See Also:


Attachments

Description Olivier Thereaux 2013-01-22 10:32:53 UTC
From ROC:
“Is there a reason not to make the first parameter of AudioBufferSourceNode.start()/stop() optional? Seems like it would be convenient to have it just default to zero so authors could write "node.start()" to make it play "right now", and ditto for node.stop().”
 -- http://lists.w3.org/Archives/Public/public-audio/2013JanMar/0175.html

Editor agreed: http://lists.w3.org/Archives/Public/public-audio/2013JanMar/0176.html
Comment 1 Olivier Thereaux 2013-04-04 14:40:12 UTC
This is a uncontroversial change, should just be done and close. 

All, feel free to submit patches including both prose and IDL.
Comment 2 Ehsan Akhgari [:ehsan] 2013-04-23 19:30:49 UTC
https://dvcs.w3.org/hg/audio/rev/21c9a7bdbc3a

We still need to decide whether it makes sense to adopt similar changes to the OscillatorNode, and also to the alternate names for these two node types.