W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

[Bug 20512] New: MIDIEvent lacking constructor

From: <bugzilla@jessica.w3.org>
Date: Mon, 24 Dec 2012 10:45:24 +0000
To: public-audio@w3.org
Message-ID: <bug-20512-5429@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20512

            Bug ID: 20512
           Summary: MIDIEvent lacking constructor
    Classification: Unclassified
           Product: AudioWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: MIDI API
          Assignee: dave.null@w3.org
          Reporter: w3c@marcosc.com
        QA Contact: public-audio@w3.org

The MIDIEvent is lacking a way for authors to construct MIDI events. 

[Constructor(DOMString type, optional MIDIEventInit eventInitDict)]
interface MIDIEvent : Event {
    readonly attribute DOMHighResTimeStamp timestamp;
    readonly attribute Uint8Array          data;
};

dictionary MIDIEventInit : EventInit {
  any data;
};

(note that I left data as any, assuming UInt8Array conversion will be performed
automatically).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 24 December 2012 10:45:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:14 UTC