- From: <bugzilla@jessica.w3.org>
- Date: Fri, 15 Jun 2012 01:04:13 +0000
- To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17493
Summary: JSAudioNode should be an EventTarget
Product: AudioWG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Web Audio API
AssignedTo: crogers@google.com
ReportedBy: dino@apple.com
QAContact: public-audio@w3.org
Currently, the spec says this:
https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#JavaScriptAudioNode-section
interface JavaScriptAudioNode : AudioNode {
attribute EventListener onaudioprocess;
readonly attribute long bufferSize;
}
An "onaudioprocess" property? This is not the right way to expose this.
Instead, JavaScriptAudioNode should implement EventTarget, and thus get
addEventListener, removeEventListener, etc. I'd prefer it if it removed the
property, but I guess there is now some legacy content and there are some
misguided developers who think that approach is acceptable.
Then there should be a "audioprocess" event (or something like that).
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 15 June 2012 01:04:16 UTC