WebAudio / web-audio-api

The Web Audio API v1.0, developed by the W3C Audio WG
https://webaudio.github.io/web-audio-api/
Other
1.05k stars 167 forks source link

[TAG] AudioWorkletNode constructor creates things but then throws them away #952

Closed domenic closed 8 years ago

domenic commented 8 years ago

It says to run a variety of constructors and create a variety of objects, but it does not store them anywhere for later use by the spec or from script. Thus, a conforming UA could just not do anything at all, as that would be observably equivalent.

I think you want to do something more like https://drafts.css-houdini.org/css-paint-api-1/#draw-a-paint-image

hoch commented 8 years ago

Yes, I am introducing the 'node instance set' for each AudioContext. I'll be uploading the PR after #945 is landed.

hoch commented 8 years ago

Fixed by #946. Two internal storage areas were added to hold the ownership of AudioWorkletProcessor and AudioWorkletNode.