This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20412 - short is the wrong type for data parts, should be octet
Summary: short is the wrong type for data parts, should be octet
Status: CLOSED FIXED
Alias: None
Product: AudioWG
Classification: Unclassified
Component: MIDI API (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: TBD
Assignee: Chris Wilson
QA Contact: public-audio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-17 14:47 UTC by Jussi Kalliokoski
Modified: 2013-01-18 15:50 UTC (History)
1 user (show)

See Also:


Attachments

Description Jussi Kalliokoski 2012-12-17 14:47:06 UTC
[ Marcos Caceres wrote ]

I also just just realised that "short" is the wrong type, the spec should be using "octet":
The octet type is an unsigned integer type that has values in the range [0, 255].

While "short" is defined as:
The short type is a signed integer type that has values in the range [−32768, 32767].
Comment 2 Olivier Thereaux 2013-01-18 15:50:56 UTC
Batch-closing RESOLVED MIDI issues. Reminder: midi issues now tracked at https://github.com/WebAudio/web-midi-api/issues