<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19976</bug_id>
          
          <creation_ts>2012-11-16 00:13:27 +0000</creation_ts>
          <short_desc>Allowed contents of send( data ) needs to be detailed.</short_desc>
          <delta_ts>2012-12-11 09:42:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>AudioWG</product>
          <component>MIDI API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>TBD</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Wilson">cwilso</reporter>
          <assigned_to name="Chris Wilson">cwilso</assigned_to>
          <cc>jussi.kalliokoski</cc>
    
    <cc>olivier.thereaux</cc>
          
          <qa_contact>public-audio</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78378</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Wilson">cwilso</who>
    <bug_when>2012-11-16 00:13:27 +0000</bug_when>
    <thetext>I realized I had not explicitly detailed what can go in the data bytes in a send() call.  I believe this should be effectively what can go in a MIDIPacket in CoreMIDI:

A variable-length stream of MIDI messages. Running status is not allowed. In the case of system-exclusive messages, a packet may only contain a single message, or portion of one, with no other MIDI events. The MIDI messages in the packet must always be complete, except for system-exclusive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78400</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kalliokoski">jussi.kalliokoski</who>
    <bug_when>2012-11-16 12:20:51 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; I realized I had not explicitly detailed what can go in the data bytes in a
&gt; send() call.  I believe this should be effectively what can go in a
&gt; MIDIPacket in CoreMIDI:
&gt; 
&gt; A variable-length stream of MIDI messages. Running status is not allowed. In
&gt; the case of system-exclusive messages, a packet may only contain a single
&gt; message, or portion of one, with no other MIDI events. The MIDI messages in
&gt; the packet must always be complete, except for system-exclusive.

Sounds good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78476</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Wilson">cwilso</who>
    <bug_when>2012-11-19 18:00:16 +0000</bug_when>
    <thetext>Fixed by https://dvcs.w3.org/hg/audio/rev/e0f3c5871603.

I actually made it &quot;complete messages only&quot; - i.e. sysex messages must be complete as well.  Without this stricture, we would have to be more explicit about the state of the MIDI message handler (i.e., if a partial message was the last thing received, we would need to know that the next message has no valid MIDI header byte).  From previous discussion, I don&apos;t believe we decided we really needed partial sysex; if so, please open another bug to track.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79907</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">olivier.thereaux</who>
    <bug_when>2012-12-11 09:42:17 +0000</bug_when>
    <thetext>Seeing no objection. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>