<?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>17330</bug_id>
          
          <creation_ts>2012-06-05 11:22:07 +0000</creation_ts>
          <short_desc>(AudioNodeReferences): AudioNode context and upstream/downstream references</short_desc>
          <delta_ts>2014-10-28 17:17:41 +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="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mage</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>68640</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-06-05 11:22:07 +0000</bug_when>
    <thetext>Audio-ISSUE-32 (AudioNodeReferences): AudioNode context and upstream/downstream references [Web Audio API]

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

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

The AudioNode interface includes a reference to the creating context, but not to the connected inputs and outputs. This seems like an odd choice, since the context will typically be easy to find (there&apos;s usually only one) but walking the filter graph is very hard and currently requires building a wrapping implementation.

Suggestion:

Drop context, numberOfInputs and numberOfOutputs. Knowing the number of inputs/outputs is by itself not very useful.

Possibly, we could expose an Array-like object for access to the inputs and outputs, but only if the use cases are strong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68836</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-06-07 15:58:13 +0000</bug_when>
    <thetext>Comment from Chris Rogers, 18 May 2012

My belief is that it&apos;s not *that hard* to keep track of these relationships with quite simple wrapper code. After all, most people don&apos;t really care about &quot;walking the graph&quot;, and those who know what this means can certainly track this state easily themselves. We can change it if most people think this is the way to go, but I don&apos;t recommend it since I think it adds more complexity than is necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68976</commentid>
    <comment_count>2</comment_count>
    <who name="Marcus Geelnard (Opera)">mage</who>
    <bug_when>2012-06-12 13:08:26 +0000</bug_when>
    <thetext>Additional comment from Philip Jägenstedt, http://lists.w3.org/Archives/Public/public-audio/2012AprJun/0488.html

&quot;
We would be fine with not introducing arrays of connected nodes, at least  
until Web authors complain about having to wrap AudioNodes all the time.  
However, our suggestion to drop context, numberOfInputs and numberOfOutput  
stands, but overlaps with ISSUE-103. (Of course, if there are use cases,  
we&apos;d be interested to learn about them.)
&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113950</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:14:43 +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>114099</commentid>
    <comment_count>4</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2014-10-28 17:17:41 +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>