<?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>17341</bug_id>
          
          <creation_ts>2012-06-05 11:34:05 +0000</creation_ts>
          <short_desc>(AudioBufferSimpl): AudioBuffer simplification</short_desc>
          <delta_ts>2014-10-28 17:16:43 +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>
          <dependson>22725</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>mage</cc>
    
    <cc>olivier.thereaux</cc>
    
    <cc>philipj</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>68652</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-06-05 11:34:05 +0000</bug_when>
    <thetext>Audio-ISSUE-48 (AudioBufferSimpl): AudioBuffer simplification [Web Audio API]

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

Raised by: Philip Jägenstedt
On product: Web Audio API

The duration attribute fills no purpose, as it can be calculated trivially from sampleRate and length.

In fact, the interface can be reduced to:

    interface AudioBuffer {
        readonly attribute float sampleRate;
        Float32Array[] data;
    }

The number of channels is data.length and the number of samples is data[0].length.

The name data was picked for consistency with the ImageData interface from the 2D canvas context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90925</commentid>
    <comment_count>1</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2013-07-18 15:32:50 +0000</bug_when>
    <thetext>We should hold off on this issue until the current discussions concerning &quot;data races&quot; are resolved.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90926</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2013-07-18 15:41:26 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; We should hold off on this issue until the current discussions concerning
&gt; &quot;data races&quot; are resolved.

Agreed. I&apos;m adding a bugzilla entry to track/record the discussions on the race condition issue, and will add appropriate dependency link.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113872</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:13:49 +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>114018</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:16:43 +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>