[Bug 20764] It makes no sense to use EventListener for onaudioprocess if ScriptProcessorNode isn't EventTarget

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20764

Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ehsan@mozilla.com           |crogers@google.com

--- Comment #14 from Ehsan Akhgari [:ehsan] <ehsan@mozilla.com> ---
(In reply to comment #12)
> "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)
> 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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 21 March 2013 03:56:47 UTC