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

> [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:
https://github.com/WebAudio/web-audio-api/issues/116#issuecomment-24244381

Received on Wednesday, 11 September 2013 14:35:19 UTC