W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

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

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:30:04 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/162/24244619@github.com>
> [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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC