<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>17392</bug_id>
          
          <creation_ts>2012-06-05 12:12:16 +0000</creation_ts>
          <short_desc>Default value for bufferSize in createScriptProcessor()</short_desc>
          <delta_ts>2014-10-28 17:16:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>AudioWG</product>
          <component>Web Audio API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>TBD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael[tm] Smith">mike</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>ehsan</cc>
    
    <cc>olivier.thereaux</cc>
    
    <cc>public-audio</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68703</commentid>
    <comment_count>0</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-06-05 12:12:16 +0000</bug_when>
    <thetext>Audio-ISSUE-14 (quinnirill): Default value for bufferSize in createJavaScriptNode() [Web Audio API]

http://www.w3.org/2011/audio/track/issues/14

Raised by: Jussi Kalliokoski
On product: Web Audio API

Jussi Kalliokoski suggested that the first argument of AudioContext:createJavasScriptNode, (buffer size) would be made optional.

In addition, it could be specified so that an advanced implementation would adjust the default value to be an optimal balance between reliability (avoiding glitches and underruns) and latency on that system and setup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68830</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-06-07 15:49:16 +0000</bug_when>
    <thetext>Comment from Jussi in http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0106.html

«
We discussed with Chris (off-list) the recent change from numberOfOutputs
to numberOfChannels in the createJavaScriptNode(), because I noticed my
sink.js was broken in the latest Chrome Canary.

I suggested that the first parameter (bufferSize) be optional as well,
reverting to default when passed undefined. In an advanced implementation,
this default could be adjusted to a value that the implementation deems a
good tradeoff between safety (avoiding underruns) and latency on that
system and setup. I believe Chris thinks this is a good idea, so he
suggested I bring this to discussion in the group so we can change the spec
if we agree on it.
»</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91318</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-07-26 15:01:48 +0000</bug_when>
    <thetext>The method is currently defined as:

ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize = 0 …

Is this issue still valid or is has it been fixed already?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91319</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-07-26 15:02:27 +0000</bug_when>
    <thetext>Updating issue title to reflect the change of name from JavaScriptAudioNode to
ScriptProcessorNode, and in particular the createScriptProcessor method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91327</commentid>
    <comment_count>4</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-07-26 19:10:11 +0000</bug_when>
    <thetext>I think it&apos;s safe to call this fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113844</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:13:29 +0000</bug_when>
    <thetext>Web Audio API issues have been migrated to Github. 
See https://github.com/WebAudio/web-audio-api/issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113986</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:16:25 +0000</bug_when>
    <thetext>Closing. See https://github.com/WebAudio/web-audio-api/issues for up to date list of issues for the Web Audio API.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>