- From: <bugzilla@jessica.w3.org>
- Date: Wed, 05 Sep 2012 18:11:50 +0000
- To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18764 --- Comment #5 from Jussi Kalliokoski <jussi.kalliokoski@gmail.com> 2012-09-05 18:11:50 UTC --- (In reply to comment #4) > Oh, wait - you only have 2 data bytes in sendMessage(): > void sendMessage(short data0, short? dataX) > > It should still have a status byte: > void sendMessage(short status, short? data0, short? data1) > > > (It may seem confusing, since we previously had status and channel separately, > but even the MIDI standard (http://www.midi.org/techspecs/midimessages.php) > refers to this byte (status + channel) as the status byte. It also frequently > does not contain the channel, e.g. for any system or realtime common messages.) Yeah, it is essentially what I meant, as in the first byte is the status byte. I can change the name to `status`, but what I'd really like to know is how to make rest arguments in WebIDL. It's currently not all so obvious what the meaning behind data0 and dataX is, at least compared to how obvious I want it to be. Maybe it should just be a note or something? If we have a WebIDL guru around here, I'd appreciate the help. -- 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 Wednesday, 5 September 2012 18:11:51 UTC