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

[Bug 18759] New: boolean returns from MIDIOutput methods are inappropriately synchronous

From: <bugzilla@jessica.w3.org>
Date: Fri, 31 Aug 2012 22:36:17 +0000
To: public-audio@w3.org
Message-ID: <bug-18759-5429@http.www.w3.org/Bugs/Public/>

           Summary: boolean returns from MIDIOutput methods are
                    inappropriately synchronous
           Product: AudioWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: MIDI API
        AssignedTo: dave.null@w3.org
        ReportedBy: cwilso@gmail.com
         QAContact: public-audio@w3.org

Both sendMIDIMessage and sendMessage "return(s) a boolean signifying whether
the operation was successful."

That sounds like this is intended to be a synchronous call, which is a very bad
idea (since MIDI messages may take a long time to send, on a hardware MIDI port
for example).  At the very least, this should state "signifying whether the
message was successfully enqueued."

At most, we should probably add an onsuccess/onerror callback set to

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, 31 August 2012 22:36:19 UTC

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