Re: [web-audio-api] JSAudioNode should be an EventTarget (#162)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17493#3) by Dominic Cooney on W3C Bugzilla. Tue, 19 Feb 2013 05:13:22 GMT

I believe that this is fixed; ScriptProcessorNode (the new name of JavaScriptAudioNode) no longer has anything to do with EventTarget (good!)

The interfaces are now [1]

interface ScriptProcessorNode : AudioNode {

    attribute EventListener onaudioprocess;

    readonly attribute long bufferSize;

};

interface AudioNode {
    …
};

[1] <https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#ScriptProcessorNode>

There is a separate bug 20764 for using a proper callback instead of EventListener for onaudioprocess.

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/162#issuecomment-24244619

Received on Wednesday, 11 September 2013 14:37:30 UTC