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

Re: [web-audio-api] It makes no sense to use EventListener for onaudioprocess if ScriptProcessorNode isn't EventTarget (#116)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:48 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/116/24244381@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=20764#13) by Ehsan Akhgari [:ehsan] on W3C Bugzilla. Thu, 21 Mar 2013 03:56:45 GMT

(In reply to [comment #12](#issuecomment-24244367))
> "This interface is a type of Event which is passed to the onaudioprocess
> event handler used by ScriptProcessorNode. "
> is still a bit odd, since event handling uses now the normal model.
> And there is also
> "This value controls how frequently the onaudioprocess event handler is
> called"

I cleared up the wording in https://dvcs.w3.org/hg/audio/rev/e26b49247d95.

> The spec also doesn't mention when audioprocess event is dispatched, only
> vaguely talks about how bufferSize affects to the frequency of those events.

That is a good question.  I'll leave that part to crogers.

(In reply to [comment #13](#issuecomment-24244375))
> Where is EventHandler defined? In the [DOM] reference, only EventListener is
> defined. I think the spec might be missing a reference.

The HTML spec.  I added a reference in https://dvcs.w3.org/hg/audio/rev/2056740735fd.

Reply to this email directly or view it on GitHub:
Received on Wednesday, 11 September 2013 14:35:19 UTC

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