ISSUE-32: (Bugzilla 17330) AudioNode context and upstream/downstream references
AudioNodeReferences
(Bugzilla 17330) AudioNode context and upstream/downstream references
- State:
- CLOSED
- Product:
- Web Audio API
- Raised by:
- Philip Jägenstedt
- Opened on:
- 2012-05-15
- Description:
- 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'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. - Related Actions Items:
- No related actions
- Related emails:
- [web-audio-api] (AudioNodeReferences): AudioNode context and upstream/downstream references (#73) (from notifications@github.com on 2013-09-11)
- Re: State of issues as of 2012-05-30 (from philipj@opera.com on 2012-06-01)
- Re: Audio-ISSUE-32 (AudioNodeReferences): AudioNode context and upstream/downstream references [Web Audio API] (from philipj@opera.com on 2012-06-01)
- State of issues as of 2012-05-30 (from olivier.thereaux@bbc.co.uk on 2012-05-30)
- Re: Summary of issues (from crogers@google.com on 2012-05-22)
- Summary of issues (from mage@opera.com on 2012-05-22)
- Audio-ISSUE-32 (AudioNodeReferences): AudioNode context and upstream/downstream references [Web Audio API] (from sysbot+tracker@w3.org on 2012-05-15)
Related notes:
My belief is that it's not *that hard* to keep track of these relationships with quite simple wrapper code. After all, most people don't really care about "walking the graph", 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't recommend it since I think it adds more complexity than is necessary.
Chris Rogers, 18 May 2012, 23:11:08Under discussion. OPEN.
Olivier Thereaux, 30 May 2012, 20:27:55[MikeSmith]: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17330
5 Jun 2012, 13:56:31Display change log