<?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>19807</bug_id>
          
          <creation_ts>2012-11-01 00:01:32 +0000</creation_ts>
          <short_desc>The parameter to AudioContext.createDelay should be float, not double</short_desc>
          <delta_ts>2012-12-18 13:25:20 +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>FIXED</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="Ehsan Akhgari [:ehsan]">ehsan</reporter>
          <assigned_to name="Chris Rogers">crogers</assigned_to>
          <cc>mage</cc>
    
    <cc>olivier.thereaux</cc>
          
          <qa_contact>public-audio</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77619</commentid>
    <comment_count>0</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2012-11-01 00:01:32 +0000</bug_when>
    <thetext>The AudioParam min and max values are expressed in floats, not doubles.  createDelay should be changed accordingly, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77620</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2012-11-01 00:06:55 +0000</bug_when>
    <thetext>Actually, as much as possible I think we need to move to expressing all times in double-precision.  But, you&apos;re right that they need to be made consistent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77626</commentid>
    <comment_count>2</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2012-11-01 00:24:49 +0000</bug_when>
    <thetext>Yeah.  To be clear, I don&apos;t care about float vs. double that much, I just think consistency matters here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77636</commentid>
    <comment_count>3</comment_count>
    <who name="Marcus Geelnard (Opera)">mage</who>
    <bug_when>2012-11-01 07:39:07 +0000</bug_when>
    <thetext>Agree we should use doubles - see Bug 17393</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77676</commentid>
    <comment_count>4</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2012-11-01 15:34:26 +0000</bug_when>
    <thetext>Sounds good.  I was changing this method in bug 19808 so I went ahead and changed in to float for now.  We can take care of that when we fix bug 17393.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78470</commentid>
    <comment_count>5</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-11-19 16:01:50 +0000</bug_when>
    <thetext>Should this be reopened, seeing as bug 17393 has been resolved? The current draft has createDelay as a double, but AudioParam min and max values are still float. Do we need any more changes before consistency is achieved?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78481</commentid>
    <comment_count>6</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2012-11-19 18:26:48 +0000</bug_when>
    <thetext>My feeling was that the most urgent changes for doubles were with time values, where the precision is usually the most fiddly.

We can also consider moving the rest to double</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80347</commentid>
    <comment_count>7</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-12-18 13:25:20 +0000</bug_when>
    <thetext>With bug 17393 reopened and dealing with the double/float issue in general, I think this can be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>